Bug 6182

Summary: nologin: new applet
Product: Busybox Reporter: marius.spix
Component: OtherAssignee: unassigned
Status: RESOLVED WONTFIX    
Severity: enhancement CC: busybox-cvs
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Other   
Host: Target:
Build:
Attachments: Implementation of nologon

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.