/etc/nologin
Can be used to display message on console when someone attempts to log in with account using /sbin/nologin shell.
usermod
Additional notes.
/etc/passwd
Contains the main account configuration details of the users on system.
Reminder: ::::::
/etc/shadow
Stores the encrypted passwords and password age info for the users on system.
! At beginning of password field indicates lock.
Reminder: :::::::
xinetd
Super-daemon. Controls access to various network systems, older.
/etc/xinetd.conf
Configuration file for xinetd
General logging in syslog format:
Ex: log_type = SYSLOG daemon info.
Access restrictions: include connections per seconds requested and disable time (s), instances, maximum connections for source IP.
Bottom includes configuration file from /etc/xinetd.d
/etc/xinetd.d
Contains configuration files for services which xinetd can control.
TCP Wrappers
Functionality users a hosts.allow and/or hosts.deny file to determine access to network services. Formatted as
: ALL is an option for both.
systemd.socket
Systemd socket unit file used in place of xinetd on modern Linux distros. Type of unit will allow for on-demand activation of network services. TCP Wrappers can be used in conjunction with systemd socket units.