[PATCH] nologin: new applet.

Natanael Copa natanael.copa at gmail.com
Fri Nov 4 15:53:30 UTC 2011


On Fri, Nov 4, 2011 at 4:39 PM, Cathey, Jim <jcathey at ciena.com> wrote:
> Why a .txt file?  Unixes don't generally use
> DOS-style extensions.

Because thats what the original(?) version does:
http://www.openbsd.org/cgi-bin/cvsweb/src/sbin/nologin/nologin.c?rev=1.5

> How does this interact
> (if at all) with the existing /etc/nologin
> all-logins-denied text file, if at all?

As the configure help text explains:
It is intended as a replacement shell field for accounts that have
been disabled.

So this does not interact or has anything to do with /etc/nologin.

Instead of creating deamon user accounts with 'adduser -S -s
/bin/false ...' you do 'adduser -S -s /sbin/nologin ...'

-- 
Natanael Copa


More information about the busybox mailing list