netbsd man page for nologin

Query: nologin

OS: netbsd

Section: 5

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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

NAME
nologin -- file disallowing and containing reason for disallowing logins
DESCRIPTION
The file /etc/nologin, if it exists, causes the login procedure, used by programs such as login(1), to terminate. The program may display the contents of /etc/nologin to the user before exiting. This file is a simple mechanism to temporarily prevent incoming logins. As such, the file /etc/nologin is created by shutdown(8) five min- utes before system shutdown, or immediately if shutdown is in less than five minutes. The file /etc/nologin is removed just before shutdown(8) exits. To disable logins on a per-account basis, see nologin(8). The file /etc/nologin has no affect on the login procedure for the root user.
FILES
/etc/nologin The nologin file resides in /etc.
EXAMPLES
NO LOGINS: System going down at 18:22
SEE ALSO
login(1), ftpd(8), nologin(8), rshd(8), shutdown(8), sshd(8)
BSD
December 9, 2005 BSD
Related Man Pages
pam_nologin(8) - centos
nologin(5) - freebsd
pam_nologin(8) - x11r4
pam_nologin(8) - xfree86
pam_nologin(8) - sunos
Similar Topics in the Unix Linux Community
how to set timeout for aix?
A script for shutdown
Temporarily Disable User Account
small ? on /etc/default/security edit?
[Solved] root cannot login