Allowing ftp and email, but not shell access

DJ Lucas dj at linuxfromscratch.org
Wed Aug 24 23:56:42 PDT 2005


Steve Prior wrote:
> I'd like to set up a few accounts on my LFS box which can FTP (or SSH)
> files for a web page and store email, but deny actual command line
> access.  I haven't yet found a way to pull this off.  Can anyone
> provide some starting points?
> 
> Steve
> 

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.

-- DJ Lucas



More information about the blfs-support mailing list