PAM_AUTHTOK_CHECK(7) | Standards, Environments, and Macros | PAM_AUTHTOK_CHECK(7) |
pam_authtok_check - authentication and password management module
pam_authtok_check.so.1
pam_authtok_check provides functionality to the Password Management stack. The implementation of pam_sm_chauthtok(3PAM) performs a number of checks on the construction of the newly entered password. pam_sm_chauthtok() is invoked twice by the PAM framework, once with flags set to PAM_PRELIM_CHECK, and once with flags set to PAM_UPDATE_AUTHTOK. This module only performs its checks during the first invocation. This module expects the current authentication token in the PAM_OLDAUTHTOK item, the new (to be checked) password in the PAM_AUTHTOK item, and the login name in the PAM_USER item. The checks performed by this module are:
length
circular shift
complexity
variation
dictionary check
upper/lower case
maximum repeats
The following option may be passed to the module:
force_check
debug
If the password in PAM_AUTHTOK passes all tests, PAM_SUCCESS is returned. If any of the tests fail, PAM_AUTHTOK_ERR is returned.
/etc/default/passwd
See attributes(7) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
Interface Stability | Evolving |
MT Level | MT-Safe with exceptions |
passwd(1), syslog(3C), libpam(3LIB), pam(3PAM), pam_chauthtok(3PAM), pam_sm_chauthtok(3PAM), pam.conf(5), passwd(5), shadow(5), attributes(7), pam_authtok_get(7), pam_authtok_store(7), pam_dhkeys(7), pam_passwd_auth(7), pam_unix_account(7), pam_unix_auth(7), pam_unix_session(7), mkpwdict(8)
The interfaces in libpam(3LIB) are MT-Safe only if each thread within the multi-threaded application uses its own PAM handle.
The pam_unix(7) module is no longer supported. Similar functionality is provided by pam_authtok_check(7), pam_authtok_get(7), pam_authtok_store(7), pam_dhkeys(7), pam_passwd_auth(7), pam_unix_account(7), pam_unix_auth(7), and pam_unix_session(7).
August 19, 2023 | OmniOS |