1nologin(5) File Formats Manual nologin(5)
23
4
NAME
6nologin - prevent unprivileged users from logging into the system
7
DESCRIPTION
9If the file /etc/nologin exists and is readable, login(1) will allow
10access only to root. Other users will be shown the contents of this
11file and their logins will be refused. This provides a simple way of
12temporarily disabling all unprivileged logins.
13
FILES
15/etc/nologin
16
SEE ALSO
18login(1), shutdown(8)
1920
21
22
Linux man-pages 6.05 2022-10-30 nologin(5)