|
From: | Jakob Unterwurzacher |
Subject: | Re: [rdiff-backup-users] Can one set up a login for rdiff-backup only (not via sshd_config)? |
Date: | Mon, 04 Jan 2010 15:37:46 +0100 |
User-agent: | Thunderbird 2.0.0.23 (X11/20090817) |
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
[Prev in Thread] | Current Thread | [Next in Thread] |