Best methods for preventing SSH allowing FTP

Scott Blaydes sblaydes at wtconnect.com
Wed Aug 20 08:34:41 PDT 2003


Blake Swensen wrote:

> Anyone have suggestions for the best methods for locking an account so 
> that a user or a group can only ftp/POP/IMAP and prevent all other access.
> 
> Blake

Give them a shell of /bin/false.  You will need to actually create a 
file called /bin/false, and add it to /etc/shells.  That will allow 
ftp/pop/imap and not allow them to log in via telnet/ssh.

Scott Blaydes




More information about the freebsd-isp mailing list