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:49:30
In article <Pine.LNX.4.61.0602231344420.8091@m24s24.vlinux.de>,
Hubert Feyrer  <hubert@feyrer.de> wrote:
>On Thu, 23 Feb 2006, Hubert Feyrer wrote:
>>> 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).
>
>... and which could be anything else than /bin/nologin, e.g. the other day 
>I made a login with /usr/games/robots, which I wouldn't want to be able 
>to log in via FTP, too.

There is chsh or vipw for the robots case. /bin/nologin is a typo.

christos