Section: Linux Programmer's Manual (5)
Return to Main Contents
nologin - prevent unprivileged users from logging into the system
If the file /etc/nologin
exists and is readable,
will allow access 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 temporarily disabling all unprivileged logins.
This page is part of release 4.16 of the Linux
A description of the project,
information about reporting bugs,
and the latest version of this page,
can be found at