Table 7-2 setpasswordpolicy command options
Option
-n
-M
-w
-i
-e
-y
-k
-m
-d
-u
-l
-o
-r
The following example specifies a retry count of 3, a password length of 8
characters including at least 2 numeric characters, an expiration time of 60 days,
and 15 days ahead for the start date for warnings before the password expires.
XSCF> setpasswordpolicy -y 3 -m 8 -d 2 -u 0 -l 0 -o 0 -M 60 -w 15
3.
Execute the showpasswordpolicy command, and confirm the settings.
XSCF> showpasswordpolicy
Mindays: 0
Maxdays: 60
Warn: 15
Inactive: -1
Expiry: 0
Retry: 3
Difok: 1
Minlen: 8
Dcredit: 2
Ucredit: 0
Lcredit: 0
Ocredit: 0
Remember: 3
Password policy
Mindays
Maxdays
Warn
Inactive
Expiry
Retry
Difok
Minlen
Dcredit
Ucredit
Lcredit
Ocredit
Remember
Chapter 7 Making the Initial System Settings
197