On 2011-03-18 05:46, Neal Becker wrote: > I'm interested in setting up linux->linux backup. I don't like the idea of > giving permission for machine1 as user backup to ssh to machine2 as root. > What > are the options? > > 1. Can ssh be restricted so that the only command user backup can run is > rsync? > 2. Is there an easy way (using acls?) to give a user backup read access to > everything (probably not) > 3. Some other options I haven't thought of?
$Conf{RsyncClientCmd} = '$sshPath -p38134 -q -x $host sudo $rsyncPath $argList+'; /etc/sudoers: backuppc ALL=NOPASSWD: /usr/bin/rsync --server --sender * ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/