Re: Restrict commands for all users

From: Robert Hajime Lanning (robert.lanning_at_gmail.com)
Date: 08/12/04

  • Next message: Chris Jensen: "Re: Restrict commands for all users"
    Date: Wed, 11 Aug 2004 17:24:50 -0700
    To: secureshell@securityfocus.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 <cjensen@gmail.com> wrote:
    > Hi,
    > 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
    

  • Next message: Chris Jensen: "Re: Restrict commands for all users"