mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
eea1e4a351
that also logs user login attempts to syslog. [I had to name the directory `no-login' because easy-import complained that there's already a "nologin" module.]
5 lines
250 B
Plaintext
5 lines
250 B
Plaintext
This program will refuse login to a user, and make a note of it in the
|
|
system logs (syslog). This is suitable for use as a "login shell" for
|
|
a user that you want to temporarily deny access to. Just set that user's
|
|
shell to /usr/local/sbin/nologin.
|