2. Use the setpasswordpolicy(8) command to specify a password policy.
<Example> Specify 3 for the retry count, an eight-character
password containing at least two digits, 60 days for the expiration
period, and 15 days for the advance notice of expiration.
XSCF> setpasswordpolicy -y 3 -m 8 -d 2 -u 0 -l 0 -o 0 -M 60 -w 15
3. Use the showpasswordpolicy(8) command to confirm the settings.
XSCF> showpasswordpolicy
Mindays:
Maxdays:
Warn:
Inactive: -1
Expiry:
Retry:
Difok:
Minlen:
Dcredit:
Ucredit:
Lcredit:
Ocredit:
Remember: 3
Enabling or Disabling the Lockout Function
Command operation
■
1. Use the showloginlockout(8) command to display lockout settings.
XSCF> showloginlockout
2. Use the setloginlockout(8) command to set lockout function.
<Example 1> Enable the lockout function to specify 20 minutes for
the lockout period.
XSCF> setloginlockout -s 20
<Example 2> Disable the lockout function
XSCF> setloginlockout -s 0
The lockout period becomes effective at the next login. When you specifies 0
minutes, if someone login successfully by a user accout at the next time, the lockout
function will be disabled.
2-38
SPARC Enterprise Mx000 Servers XSCF User's Guide • August 2009
0
60
15
0
3
1
8
2
0
0
0
Need help?
Do you have a question about the Sun SPARC Enterprise M3000 and is the answer not in the manual?
Questions and answers