[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
--------- Original Message -------- From: list@xxxxxxxxxxxxx To: list@xxxxxxxxxxxxx <list@xxxxxxxxxxxxx> Subject: Re: [LUG] rsync over ssh permissions Date: 02/01/08 21:48 > > Andy Smith wrote: > > 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 > > > > on a slightly related note, has anyone got a working rdiff-backup ? > > I've been trying to use it for a while without any success, seems python > keeps dyeing.. > uhh... seems I had a version mismatch issue.. -- 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