Brocade Fabric OS Command Reference Manual (53-1000240-01, November 2006)

Fabric OS Command Reference Manual 2-383
Publication Number: 53-1000240-01
passwdCfg
2
Note: Enter commands in lowercase only; mixed case is for readability.
-maxpasswordage value
Specifies the maximum number of days that can elapse before a
password must be changed. This is the password expiration period.
-maxpasswordage can be set at 0 to 999. Setting this parameter to 0
disables password expiration. The default value is 0.
-warning value
Specifies the number of days prior to password expiration that a warning
of password expiration is displayed. -warning can be set at 0 to 999. The
default value to 0.
-lockoutthreshold value
Specifies the number of times a user can specify an incorrect password
during login before the account is locked. The number of failed login
attempts is counted from the last successful login. -lockoutthreshold can
be set at 0 to 999. Setting this parameter to 0 disables the lockout
mechanism. The default value is 0.
-lockoutduration value
Specifies the time, in minutes, after which a previously locked account
automatically unlocks. The -lockoutduration time elapses from the first
time the failed login attempts exceeds the -lockoutthreshold.
Subsequent failed login attempts during a lockout period do not further
extend the lockout period. -lockoutduration can be set at 0 to 99999.
Setting this parameter to 0 disables the lockout duration mechanism,
requiring an administrative action to unlock the account. The default
value is 30.
--setdefault Resets all password policies to default values.
--showall Displays all the password configuration parameters.
Examples To display the current password configuration parameters:
To change the password configuration parameters:
switch:admin> passwdcfg --showall
passwdcfg.minlength: 8
passwdcfg.lowercase: 0
passwdcfg.uppercase: 0
passwdcfg.digits: 0
passwdcfg.punctuation: 0
passwdcfg.history: 1
passwdcfg.minpasswordage: 0
passwdcfg.maxpasswordage: 0
passwdcfg.warning: 0
passwdcfg.lockoutthreshold: 0
passwdcfg.lockoutduration: 30
passwdcfg.status: 0
switch:admin> passwdcfg --set -uppercase 2 -maxpasswordage 90