Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pam_shells(8) [x11r4 man page]

PAM_SHELLS(8)							 Linux-PAM Manual						     PAM_SHELLS(8)

NAME
pam_shells - PAM module to check for valid login shell SYNOPSIS
pam_shells.so DESCRIPTION
pam_shells is a PAM module that only allows access to the system if the users shell is listed in /etc/shells. It also checks if /etc/shells is a plain file and not world writable. OPTIONS
This module does not recognise any options. MODULE TYPES PROVIDED
The auth and account module types are provided. RETURN VALUES
PAM_AUTH_ERR Access to the system was denied. PAM_SUCCESS The users login shell was listed as valid shell in /etc/shells. PAM_SERVICE_ERR The module was not able to get the name of the user. EXAMPLES
auth required pam_shells.so SEE ALSO
shells(5), pam.conf(5), pam.d(5), pam(7) AUTHOR
pam_shells was written by Erik Troan <ewt@redhat.com>. Linux-PAM Manual 09/19/2013 PAM_SHELLS(8)

Check Out this Related Man Page

PAM_DENY(8)							 Linux-PAM Manual						       PAM_DENY(8)

NAME
pam_deny - The locking-out PAM module SYNOPSIS
pam_deny.so DESCRIPTION
This module can be used to deny access. It always indicates a failure to the application through the PAM framework. It might be suitable for using for default (the OTHER) entries. OPTIONS
This module does not recognise any options. MODULE TYPES PROVIDED
All module types (account, auth, password and session) are provided. RETURN VALUES
PAM_AUTH_ERR This is returned by the account and auth services. PAM_CRED_ERR This is returned by the setcred function. PAM_AUTHTOK_ERR This is returned by the password service. PAM_SESSION_ERR This is returned by the session service. EXAMPLES
#%PAM-1.0 # # If we don't have config entries for a service, the # OTHER entries are used. To be secure, warn and deny # access to everything. other auth required pam_warn.so other auth required pam_deny.so other account required pam_warn.so other account required pam_deny.so other password required pam_warn.so other password required pam_deny.so other session required pam_warn.so other session required pam_deny.so SEE ALSO
pam.conf(5), pam.d(5), pam(8) AUTHOR
pam_deny was written by Andrew G. Morgan <morgan@kernel.org> Linux-PAM Manual 04/01/2010 PAM_DENY(8)
Man Page