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

nologinpolitely refuse a login

nologin

The nologin is intended as a replacement shell field for accounts that have been disabled.

When executed, nologin first writes about the login attempt to syslog(3) and then displays a message that an account is not available.

To disable all logins, investigate nologin(5).

The nologin utility always exits non-zero.

login(1), nologin(5)

The nologin utility appeared in 4.4BSD.

April 15, 2020 macOS 15.0