pam_nologin(8)

pam_nologin8

Login pam module

Usage

[service-name] function-class control-flag pam_nologin [options]

Overview

The No Login PAM module supports the account management function class. In terms of the function-class parameter, this is the “account” class.

The No Login authentication module 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.

Files

/etc/nologin

A message to denied users.

Releases

155 releases since Mac OS X 10.2; the text changed 1 time.

  1. 10.2–10.5.8
  2. 10.6–26.5

From pam_modules 217.100.6 in macOS 26.5. Parsed by carta from the page's mdoc source.