[TriLUG] SCPing root owned files from servers that disallow root login
Cristóbal Palmer
cristobalpalmer at gmail.com
Thu Oct 4 17:40:22 EDT 2007
On 10/4/07, Chris Bullock <cgbullock at yahoo.com> wrote:
> [cgb at server1 :/home/cgb]$ sudo scp -P 22222 server2:/etc/file.conf .
I'm confused. Is the file /etc/file.conf on server2 only readable by root?
Why not something like this:
sudo scp -P 22222 someuser at server2:/etc/file.conf
and set perms so 'someuser' can read/write the file.
Cheers,
--
Cristóbal M. Palmer
celebrating 15 years of sunsite/metalab/ibiblio:
http://tinyurl.com/2o8hj4
More information about the TriLUG
mailing list