NOLOGIN(5) MidnightBSD File Formats Manual NOLOGIN(5)

NAME

nologin — disallow logins

DESCRIPTION

Programs such as login(1) disallow logins if the file /var/run/nologin exists. Programs display the contents of /var/run/nologin to the user and exit. This makes it simple to temporarily prevent incoming logins systemwide.

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

SECURITY

Ignored by login(1) for user root.

FILES
/var/run/nologin
SEE ALSO

login(1), rlogin(1), telnet(1), nologin(8), shutdown(8)

MidnightBSD 0.3 June 19, 1993 MidnightBSD 0.3