FTP And Not Shell

Adam Myrow amyrow at midsouth.rr.com
Tue Mar 22 21:19:23 EST 2005


On Tue, 22 Mar 2005, Igor Gueths wrote:

> There are several ways of doing so. One of which I can think of, is to
> change that account's shell to /bin/false in /etc/passwd. The only
> problem with doing this is that some Ftp daemons require that the
> account have a valid shell.

You can put /bin/false in the file /etc/shells, and that will make the FTP 
daemon consider it valid.  The drawback to this is, now a user could 
change their shell to /bin/false, and then they wouldn't be able to log 
in.




More information about the Speakup mailing list