Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Mar 2003 15:52:43 +0400
From:      Gaspar Chilingarov <nm@web.am>
To:        Oleg Shevtsov <sat@orion.interexc.com>, security@freebsd.org
Subject:   Re:
Message-ID:  <200303061552.43429.nm@web.am>
In-Reply-To: <20030120101323.GA371@interexc.com>
References:  <20030120101323.GA371@interexc.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.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 majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




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