Bug 6182 - nologin: new applet
Summary: nologin: new applet
Status: RESOLVED WONTFIX
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All Other
: P5 enhancement
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-12 20:38 UTC by marius.spix
Modified: 2016-04-04 17:52 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
Implementation of nologon (586 bytes, text/x-csrc)
2013-04-12 20:38 UTC, marius.spix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description marius.spix 2013-04-12 20:38:53 UTC
Created attachment 4838 [details]
Implementation of nologon

nologin (8) simply prints a message that a user's account is not available. It can be used for disabled users instead of /bin/false in /etc/passwd. The advantage is that you see a message that a user account is disabled.

lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
Comment 1 Mike Frysinger 2016-02-13 20:03:45 UTC
Bernhard pointed out there is a shell script in the tree that does this:
https://git.busybox.net/busybox/tree/applets_sh/nologin

whether we make it a full built-in applet i have no opinion.  i'll leave it to Denys.