tail head cat sleep
QR code linking to this page

Manual Pages  — NOLOGIN

NAME

nologin – politely refuse a login

CONTENTS

SYNOPSIS


nologin

DESCRIPTION

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.

EXAMPLES

Here is a demonstration of executing nologin:
$ nologin
This account is currently not available.
$ tail -n 1 /var/log/messages
Mar 30 21:53:07 example.org nologin[65992]: Attempted login by beastie on /dev/pts/18

SEE ALSO

login(1), nologin(5)

HISTORY

The nologin utility appeared in BSD 4.4 .

NOLOGIN (8) April 15, 2020

tail head cat sleep
QR code linking to this page


Please direct any comments about this manual page service to Ben Bullock. Privacy policy.