[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
On Wed, Jan 02, 2008 at 03:26:41PM +0000, Simon Williams wrote: > Hello everyone (and Happy New Year). > > I'm trying to make a backup of my server using rsync over ssh. Direct > root logins are not permitted on either machine, but this presents a > problem. I need to have root perms on the server so that I can see all > the files to backup. But I also need root perms on the machine to which > the backups are being made so that the ownership of files is preserved. Why not do rsync over ssh with a key that has a forced command, and then only allow root logins that force commands? Your command would verify that the only thing you are doing is rsync. Something like this: http://troy.jdmz.net/rsync/ I use this for rsnapshot (which uses rsync and ssh) backups as root/root. Cheers, Andy
Attachment:
signature.asc
Description: Digital signature
-- The Mailing List for the Devon & Cornwall LUG http://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html