Skip site navigation (1)Skip section navigation (2)

FreeBSD Man Pages

Man Page or Keyword Search:
Man Architecture
Apropos Keyword Search (all sections) Output format
home | help
PAM_NOLOGIN(8)          FreeBSD System Manager's Manual         PAM_NOLOGIN(8)

NAME
     pam_nologin - NoLogin PAM module

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

DESCRIPTION
     The NoLogin authentication service module for PAM, pam_nologin 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 function 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 /var/run/nologin does not exist.  If /var/run/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
     /var/run/nologin.

     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.

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

FreeBSD 11.0-PRERELEASE          July 8, 2001          FreeBSD 11.0-PRERELEASE

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=pam_nologin&sektion=8&manpath=FreeBSD+5.0-RELEASE>

home | help