[plug] Restricting users access

Leon Brooks leon at brooks.fdns.net
Mon Nov 4 21:36:51 WST 2002


On Monday 04 November 2002 04:55 pm, Ben Jensz wrote:
> Chris Griffin wrote:
>> 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.

> User shell = /bin/false (or anything really that doesn't exist)

May need to add /bin/false to /etc/shells too.

You might also be interested in this:

    http://www.sublimation.org/scponly/

Cheers; Leon



More information about the plug mailing list