Subject: Re: ftp yes, shell no
To: Zafer Aydogan <>
From: Johnny Billquist <>
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 Billquist                  || "I'm on a bus
                                  ||  on a psychedelic trip
email:           ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol