OpenBSD Handbook Manuals
Search

nologin(8)

Canonical URL: /nologin.8/

NOLOGIN(8) System Manager's Manual NOLOGIN(8)

nologinpolitely refuse a login

nologin

nologin displays a message that an account is not available and exits non-zero. It is intended as a replacement shell field for accounts that have been disabled.

If the file /etc/nologin.txt exists, nologin displays its contents to the user instead of the default message.

login(1)

The nologin command appeared in 4.4BSD.

May 31, 2007 Linux 7.1.13-200.fc44.x86_64

Need conceptual guidance? Continue in the OpenBSD Handbook.