applets_sh/nologin: an applet implemented as shell script
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
39b233182c
commit
2951add2bf
4
applets_sh/nologin
Executable file
4
applets_sh/nologin
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
cat /etc/nologin.txt 2>/dev/null || echo "This account is not available"
|
||||||
|
sleep 5
|
||||||
|
exit 1
|
Loading…
Reference in New Issue
Block a user