Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Aug 2003 10:34:04 -0500
From:      Scott Blaydes <sblaydes@wtconnect.com>
To:        Blake Swensen <blake@pyramus.com>
Cc:        FreeBSD ISP List <freebsd-isp@freebsd.org>
Subject:   Re: Best methods for preventing SSH allowing FTP
Message-ID:  <3F4394EC.10609@wtconnect.com>
In-Reply-To: <3F439250.6010408@pyramus.com>
References:  <3F439250.6010408@pyramus.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F4394EC.10609>