Subject: Re: CVS commit: src/usr.sbin/user
To: None <source-changes@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: source-changes
Date: 02/23/2006 12:48:08
In article <Pine.LNX.4.61.0602231304040.8091@m24s24.vlinux.de>,
Hubert Feyrer  <hubert@feyrer.de> wrote:
>On Fri, 6 Jan 2006, Christos Zoulas wrote:
>> Modified Files:
>> 	src/usr.sbin/user: user.c
>>
>> Log Message:
>> Add checks for valid shell. From Liam Foy.
>
>How do I add a user with /bin/nologin as shell?
>(which shouldn't be in /etc/shells as it would allow the user to login via 
>FTP).
>
>I'm not sure this change is good...

Try /sbin/nologin instead.

christos