Allowing ftp and email, but not shell access

Gavin Jackson GavinJ at trutest.co.nz
Thu Aug 25 17:17:48 PDT 2005


>> Is it possible to create the users as regular system users, and
supply
>> /bin/false as the shell?  It's just a guess.  I don't know yet
whether
>> scp will work in that setup or not, but I don't see why not.

>Doesn't seem to work. I just had a go using a test user on my machine,
>but can't access their home directory either through ssh, sftp, or
>nautilus/gnome-vfs - I just get "Connection closed".
>
>Simon.

Try using /sbin/nologin instead of /bin/false. I had a problem recently
with vsftpd and could not login in until I made the change. It had
something to do with /bin/false not being listed as one of the shells.

Gavin



More information about the blfs-support mailing list