nologin(5) File Formats Manual nologin(5)
NAME
nologin - prevent unprivileged users from logging into the system
DESCRIPTION
If the file /etc/nologin exists and is readable, login(1) will allow ac-
cess only to root. Other users will be shown the contents of this file
and their logins will be refused. This provides a simple way of tem-
porarily disabling all unprivileged logins.
FILES
/etc/nologin
SEE ALSO
login(1), shutdown(8)
Linux man-pages 6.9.1 2024-05-02 nologin(5)
Generated by dwww version 1.16 on Tue Dec 16 08:30:26 CET 2025.