OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
(no subject)

From: Gaspar Chilingarov (nmweb.am)
Date: Thu Mar 06 2003 - 05:52:43 CST


On Monday 20 January 2003 14:13, Oleg Shevtsov wrote:
> Hi,
> how to give specific user FTP but no shell access?
> Ftpd's manual says:
> 4. The user must have a standard shell returned by
> getusershell(3).
> But I don't want to give shell account.
>
> To Unsubscribe: send mail to majordomoFreeBSD.org
> with "unsubscribe freebsd-security" in the body of the message

ln /sbin/nologin /sbin/ftp-nologin
echo "/sbin/ftp-nologin" >> /etc/shells

add user as usual, but set shell to ftp-nologin

---
Gaspar Chilingarov

To Unsubscribe: send mail to majordomoFreeBSD.org
with "unsubscribe freebsd-security" in the body of the message