James Kyle wrote: > Thank you all for the work done with backuppc. Currently, I'm working > on automating the configuration process for my clients. > > I've written a script for OSX (trivial to convert to a linux friendly > config script) that will: > > -) Create a backuppc non-admin user that will not appear in the login > or Preferences->Accounts pane > -) Edits /etc/sudoers to allow backuppc user to use sudo only with > rsync and without a password > -) Configures $backuppcClientUserHome/.ssh/authorized_keys2 for > passwordless login by the backuppc server. The key prohibits shell > access, execution of any command except the backuppc server's sudo > rsync command, does not allow the key to be used from any other > source then the backuppc server
Don't forget to include the addition of the host keys in the server's known_hosts file. -Rob ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ BackupPC-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
