This manual page is for Mac OS X version 10.6.3

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



NOLOGIN(5)                                 BSD File Formats Manual                                NOLOGIN(5)

NAME
     nologin -- disallow logins

DESCRIPTION
     Programs such as login(1) disallow logins if the nologin file exists.  The programs display the con-tents contents
     tents of nologin to the user if possible and interrupt the login sequence.  This makes it simple to
     temporarily prevent incoming logins systemwide.

     To disable logins on a per-account basis, investigate nologin(8).

SECURITY
     The nologin file is ignored for user root by default.

IMPLEMENTATION NOTES
     The nologin feature is implemented through login.conf(5), which allows to change the pathname of the
     file and to extend the list of users exempt from temporary login restriction.

     PAM-aware programs can be selectively configured to respect nologin using the pam_nologin(8) module via
     pam.conf(5).

     The nologin file will be removed at system boot if it resides in /var/run and cleanvar_enable is set to
     ``YES'' in rc.conf(5), which is default.  Therefore system reboot can effectively re-enable logins.

FILES
     /var/run/nologin  default location of nologin

SEE ALSO
     login(1), login.conf(5), pam.conf(5), rc.conf(5), nologin(8), pam_nologin(8), shutdown(8)

BSD                                             May 10, 2007                                             BSD

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation with the feedback links below.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.

Did this document help you? Yes It's good, but... Not helpful...