I want to connect to a server but I need to turn root to be able to copy some files. I use WinSCP, I heard that it's possible to become root just after the authentification but for a sudoer without a password. The problem is that I need to write one to have the write permission..
Can someone make any suggestion for WinSCP or any other tool ?
Your question is badly worded, but there are a few things that I believe might work for you.
First: su -
. This should let you log in as root.
Second: sudo -i
. If you are in the sudoers
file, this will enable you to become root.
Third: You can use ssh root@machinename
to remotely log into a linux machine as root.
Fourth: scp
is related to ssh
, so when you use scp
you could say something like scp root@machine1:file root@machine2:file