Chris G schrieb: > Is it possible to set up a dedicated login for rdiff-backup to use > without using sshd_config? > > I have a NAS backup system which runs linux but has an ancient version > of ssh on it which I don't want to play about with. So I'd prefer to > create a dedicated login (a user called 'bak') which *only* allows > rdiff-backup to run. > > Is there any way I can do this? I guess rdiff-backup needs a shell to > run in so I can't just set the shell field in /etc/passwd to > "rdiff-backup --server".
It works using forced command "rdiff-backup --server" in authorized_keys - forced command means that it is spawned *instead* of a shell. So, setting the shell in /etc/passwd to "rdiff-backup --server" should work too i guess. Jakob _______________________________________________ rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki