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

nologin
politely refuse a login

nologin

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

login(1)

The nologin command appeared in 4.4BSD, a free re-implementation was contributed in NetBSD 1.5 to avoid bloat through the copyright comment.

Re-implementation by Hubert Feyrer <hubertf@NetBSD.org>.
September 12, 2016 NetBSD 9.4