[plug] Restricting users access

Ben Jensz jensz at wn.com.au
Mon Nov 4 16:55:28 WST 2002


Chris Griffin wrote:

> Greetings Folks,
>
> If I have created a user account, say Fred, whose home directory 
> resides in /home/Fred.
> How can I restrict his logon so that he can only connect via sftp (I 
> am running RedHat and openssh) and he can only access his home 
> directory area?   NO SSH.
> No ssh may not be possible, but I at least need to tie him down to 
> only being able to access his home directory and nothing else.
>
> Many thanks in advance.
>
> Regards,
> Chris Griffin
>
>
User shell = /bin/false (or anything really that doesn't exist)

FTP server that allows you to set it up in a chroot environment without 
the user needing a valid login shell to login via FTP, e.g. ProFTPD.

HTH :)


/ Ben



More information about the plug mailing list