nologin8
Politely refuse a login
Usage
nologin
Overview
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).
Exit status
The nologin utility always exits non-zero.
Releases
163 releases since Mac OS X 10.0; the text changed 4 times.