NOLOGIN(8) - System Manager’s Manual # NOLOGIN(8) - System Manager’s Manual
NAME # nologin - politely refuse a login
SYNOPSIS # nologin
DESCRIPTION # nologin displays a message that an account is not available and exits non-zero. It is intended as a replacement shell field for accounts that have been disabled.
If the file /etc/nologin.txt exists, nologin displays its contents to the user instead of the default message.
SEE ALSO # login(1)
...
SHELLS(5) - File Formats Manual # SHELLS(5) - File Formats Manual
NAME # shells - shell database
DESCRIPTION # The shells file contains a list of valid shells available on the system. A shell is a command line interpreter that reads user input and executes commands. For each shell a single line should be present, consisting of the shell’s path, relative to root.
A hash mark (’#’) indicates the beginning of a comment; subsequent characters up to the end of the line are not interpreted by the routines which search the file.
...