PAM_NOLOGIN(8)          NetBSD System Manager's Manual          PAM_NOLOGIN(8)

     pam_nologin -- NoLogin PAM module

     [service-name] module-type control-flag pam_nologin [options]

     The NoLogin authentication service module for PAM provides functionality
     for only one PAM category: authentication.  In terms of the module-type
     parameter, this is the ``auth'' feature.  It also provides a null func-
     tion for session management.

   NoLogin Authentication Module
     The NoLogin authentication component (pam_sm_authenticate()), always
     returns success for the superuser, and returns success for all other
     users if the file /etc/nologin does not exist.  If /etc/nologin does
     exist, then its contents are echoed to non-superusers before failure is
     returned.  If a "nologin" capability is specified in login.conf(5), then
     the file thus specified is used instead.  This usually defaults to

     The following options may be passed to the authentication module:

     debug    syslog(3) debugging information at LOG_DEBUG level.

     no_warn  suppress warning messages to the user.  These messages include
              reasons why the user's authentication attempt was declined.

     syslog(3), login.conf(5), pam.conf(5), nologin(8), pam(8)

NetBSD 9.0                       July 8, 2001                       NetBSD 9.0

You can also request any man page by name and (optionally) by section:


Use the DEFAULT collection to view manual pages for third-party software.

©1994 Man-cgi 1.15, Panagiotis Christias
©1996-2019 Modified for NetBSD by Kimmo Suominen