blob: 8c312a8c0c4211feb33918b4885b4352829e638d (
plain) (
blame)
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
|
---
argument_specs:
main:
options:
password_policy_enabled:
type: "bool"
description: "Enable password policy"
default: true
password_policy_difok:
type: "int"
description: "The number of differences between new and old password"
default: 0
password_policy_minlen:
type: "int"
description: "Min password length"
default: 8
password_policy_dcredit:
type: "int"
description: "Num of digits required in password"
default: 0
password_policy_ucredit:
type: "int"
description: "Num of uppercase chars required in password"
default: 0
password_policy_ocredit:
type: "int"
description: "Num of special chars required in password"
default: 0
password_policy_lcredit:
type: "int"
description: "Num of lowercase chars required in password"
default: 0
password_policy_minclass:
type: "int"
description: "Num of required classes (upper/lower/digit/special) chars required in password"
default: 0
password_policy_maxrepeat:
type: "int"
description: "Num of allowed repeats in password"
default: 0
password_policy_maxclassrepeat:
type: "int"
description: "Maximum number of consecutive class repeats in password"
default: 0
password_policy_gecoscheck:
type: "int"
description: |
If nonzero, check whether the individual words longer than 3 characters from the
passwd GECOS field of the user are contained in the new password.
The default is 0 which means that this check is disabled.
default: 0
|