Subject: Re: ftp yes, shell no
To: Zafer Aydogan <zafer@gmx.org>
From: Johnny Billquist <bqt@update.uu.se>
List: netbsd-users
Date: 07/29/2004 15:27:06
On Thu, 29 Jul 2004, Zafer Aydogan wrote:

> Hello everyone on the whole wide world,
>
> My Aim is to enable ftp access, but deny shell access.
> If I set the shell to /sbin/nologin the ftp login is also denied with the
> words "the user may not use ftp".
> How shall I manage this ?

Add the /sbin/nologin to /etc/shells.

	Johnny

Johnny Billquist                  || "I'm on a bus
                                  ||  on a psychedelic trip
email: bqt@update.uu.se           ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol