-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Run sudo after you ssh. On my network, I backup my servers by setting up sudoers on the server I want to backup and running the following command from my workstation:
ssh <flags> <user>@<hostname> "sudo dump -u<dumplevel>f- <filesystem>" | gzip > <hostname>.<dumplevel>.<date>.gz Pupeno wrote: > Hello, > I'm trying to set up my computers so I make backups of my server from my > workstation (we don't have a backup server). The thing is that I have a > normal user on that server and I'm on the sudoers file to perform any > root-task. > Now, to back up, I'm running an rsync thru ssh to the server, but that runs > as > a my user because I can't ssh as root, how can I achieve root privileges to > be able to perform the back up ? > Thank you. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCl2JIBOPsJyAQkeARAglpAKChjai/SSVils4LLAhvBHFw4GPF0gCgx50O 4JBov/gZcdie8jtIhnBLvGw= =1cGc -----END PGP SIGNATURE----- -- gentoo-user@gentoo.org mailing list