FTP And Not Shell

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux