Re: Restrict commands for all users
From: Robert Hajime Lanning (robert.lanning_at_gmail.com)
Date: Wed, 11 Aug 2004 17:24:50 -0700 To: email@example.com
Have you tried to just change their login shell to "/usr/bin/unison" ?
On Wed, 11 Aug 2004 11:33:24 +1000, Chris Jensen <firstname.lastname@example.org> wrote:
> I'd like to restrict the commands that almost all users are permitted
> when logging in via openssh (to use unison for backup).
> I realise I can do this by using the authorized_keys file, but in our
> case we need them to login with their password so that the password
> can be used by smbmount to mount the share they will be backing up to.
-- END OF LINE -MCP