blob: 230e8621252f80dff459ef7eb0edef2c765461cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
pam_stress — The stress-testing PAM module
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DESCRIPTION
The pam_stress PAM module is mainly intended to give the impression of failing
as a fully functioning module might.
OPTIONS
debug
Put lots of information in syslog. *NOTE* this option writes passwords to
syslog, so don't use anything sensitive when testing.
no_warn
Do not give warnings about things (otherwise warnings are issued via the
conversation function)
use_first_pass
Do not prompt for a password, for pam_sm_authentication function just use
item PAM_AUTHTOK.
try_first_pass
Do not prompt for a password unless there has been no previous
authentication token (item PAM_AUTHTOK is NULL)
rootok
This is intended for the pam_sm_chauthtok function and it instructs this
function to permit root to change the user's password without entering the
old password.
expired
An argument intended for the account and chauthtok module parts. It
instructs the module to act as if the user's password has expired
fail_1
This instructs the module to make its first function fail.
fail_2
This instructs the module to make its second function (if there is one)
fail.
prelim
For pam_sm_chauthtok, means fail on PAM_PRELIM_CHECK.
required
For pam_sm_chauthtok, means fail if the user hasn't already been
authenticated by this module. (See stress_new_pwd data string in the
NOTES.)
|