[plug] re: ftp access

Matt Kemner zombie at penguincare.com.au
Mon Apr 14 16:00:00 WST 2003


On Mon, 14 Apr 2003, quoth Richard Henry:

> I don't believe ftp connections create a shell, so the shell entry in
> /etc/passwd should be irrelevant.  In fact I think setting a shell such as
> /bin/false in your passwd file is a quick way of giving a user ftp access
> but not shell access to a machine.

Traditonally, ftp servers will not give access to an account that does not
have a valid shell as specified in /etc/shells

so if you want to create an "ftp-only" account, set the shell to
/bin/false but make sure /bin/false is listed in /etc/shells

 - Matt



More information about the plug mailing list