pam_nologin
Written by Michael K. Johnson <johnsonm@redhat.com>
(based on code taken from a module written by Andrew G. Morgan
<morgan@parc.power.net>).
Michael K. Johnson <johnsonm@redhat.com>
authentication
1 warning about dropping const
Provides standard Unix nologin authentication.
Provides standard Unix nologin authentication. If the file
/etc/nologin
exists, only root is allowed to log in; other
users are turned away with an error message. All users (root or
otherwise) are shown the contents of /etc/nologin
.
If the file /etc/nologin
does not exist, this module succeeds
silently.
In order to make this module effective, all login methods should
be secured by it. It should be used as a required
method listed before any sufficient
methods in order to
get standard Unix nologin semantics.