| PAM_EXTRAUSERS(8) | Linux-PAM Manual | PAM_EXTRAUSERS(8) |
NAME
pam_extrausers - Module for libnss-extrausers authentication
SYNOPSIS
pam_extrausers.so [...]
DESCRIPTION
This is similar to the standard Unix authentication module pam_unix. But instead of using /etc/passwd and /etc/shadow, it uses /var/lib/extrausers/passwd and /var/lib/extrausers/shadow.
The account component performs the task of establishing the status of the user's account and password based on the following shadow elements: expire, last_change, max_change, min_change, warn_change. In the case of the latter, it may offer advice to the user on changing their password or, through the PAM_AUTHTOKEN_REQD return, delay giving service to the user until they have established a new password. The entries listed above are documented in the shadow(5) manual page. Should the user's record not contain one or more of these entries, the corresponding shadow check is not performed.
The authentication component performs the task of checking the users credentials (password). The default action of this module is to not permit the user access to a service if their official password is blank.
The password component of this module performs the task of updating the user's password. The default encryption hash is taken from the ENCRYPT_METHOD variable from /etc/login.defs
The session component of this module logs when a user logins or leave the system.
Remaining arguments, supported by others functions of this module, are silently ignored. Other arguments are logged as errors through syslog(3).
OPTIONS
debug
audit
nullok
nullok_secure
try_first_pass
use_first_pass
nodelay
use_authtok
not_set_pass
nis
remember=n
shadow
md5
bigcrypt
sha256
sha512
blowfish
rounds=n
broken_shadow
minlen=n
obscure
Palindrome
Case Change Only
Similar
Simple
Rotated
Invalid arguments are logged with syslog(3).
MODULE TYPES PROVIDED
All module types (account, auth, password and session) are provided.
RETURN VALUES
PAM_IGNORE
EXAMPLES
An example usage for /etc/pam.d/common-password would be:
password [success=2 default=ignore] pam_extrausers.so obscure sha512 password [success=1 default=ignore] pam_unix.so obscure sha512 # here's the fallback if no module succeeds password requisite pam_deny.so # prime the stack with a positive return value if there isn't one already; # this avoids us returning an error just because nothing sets a success code # since the modules above will each just jump around password required pam_permit.so # and here are more per-package modules (the "Additional" block) password optional pam_gnome_keyring.so password optional pam_ecryptfs.so
SEE ALSO
AUTHOR
pam_extrausers was written by various people.
| 07/22/2014 | Linux-PAM Manual |