politely refuse a login NAME nologin - politely refuse a login SYNOPSIS nologin [ -V ] [ -h ] DESCRIPTION nologin displays a m...Prevent non-root users from login NAME pam_nologin - Prevent non-root users from login SYNOPSIS pam_nologin.so [file= /path/nologin ] [succe......CRIPTION systemd-user-sessions.service is a service that controls user logins through pam_nologin (8). After basic system initialization is complete, it removes /run/nologin, th…...CRIPTION systemd-user-sessions.service is a service that controls user logins through pam_nologin (8). After basic system initialization is complete, it removes /run/nologin, th…...or auditd is not running. EXAMPLES #%PAM-1.0 auth required pam_unix.so auth required pam_nologin.so account required pam_unix.so password required pam_unix.so session required p…...g file example: auth required pam_securetty.so auth required pam_env.so auth required pam_nologin.so # optionally call: auth requisite pam_faillock.so preauth # to display the m…...lowing lines to /etc/pam.d/rsh: #%PAM-1.0 # auth required pam_rhosts.so auth required pam_nologin.so auth required pam_env.so auth required pam_unix.so SEE ALSO rootok (3), host…...pam_securetty.so auth sufficient pam_ldap.so auth required pam_unix.so auth required pam_nologin.so account sufficient pam_ldap.so account required pam_unix.so password required…...tly set with the --shell option, the new system user will have the shell set to /usr/sbin/nologin . adduser --system does not set a password for the new account. Skeletal config…...tly set with the --shell option, the new system user will have the shell set to /usr/sbin/nologin . adduser --system does not set a password for the new account. Skeletal config…