table of contents
PAM_STRESS(8) | Linux-PAM Manual | PAM_STRESS(8) |
NAME¶
pam_stress - The stress-testing PAM module
SYNOPSIS¶
pam_stress.so [debug] [no_warn] [use_first_pass] [try_first_pass] [rootok] [expired] [fail_1] [fail_2] [prelim] [required]
DESCRIPTION¶
The pam_stress PAM module is mainly intended to give the impression of failing as a fully functioning module might.
OPTIONS¶
debug
no_warn
use_first_pass
try_first_pass
rootok
expired
fail_1
fail_2
prelim
required
MODULE TYPES PROVIDED¶
All module types (auth, account, password and session) are provided.
RETURN VALUES¶
PAM_BUF_ERR
PAM_PERM_DENIED
PAM_AUTH_ERR
PAM_CONV_ERR
PAM_SUCCESS
PAM_USER_UNKNOWN
PAM_CRED_ERR
PAM_NEW_AUTHTOK_REQD
PAM_SESSION_ERR
PAM_TRY_AGAIN
PAM_AUTHTOK_LOCK_BUSY
PAM_AUTHTOK_ERR
PAM_SYSTEM_ERR
NOTES¶
This module uses the stress_new_pwd data string which tells pam_sm_chauthtok that pam_sm_acct_mgmt says we need a new password. The only possible value for this data string is 'yes'.
EXAMPLES¶
#%PAM-1.0 # # Any of the following will suffice account required pam_stress.so auth required pam_stress.so password required pam_stress.so session required pam_stress.so
SEE ALSO¶
AUTHORS¶
The pam_stress PAM module was developed by Andrew Morgan <morgan@linux.kernel.org>. The man page for pam_stress was written by Lucas Ramage <ramage.lucas@protonmail.com>.
11/25/2020 | Linux-PAM Manual |