Brocade Fabric OS Command Reference (Supporting Fabric OS v7.3.0) User Manual
Page 677
Fabric OS Command Reference
647
53-1003131-01
passwdCfg
2
-minpasswordage value
Specifies the minimum number of days that must elapse before a password can 
be changed. -minpasswordage can be set at 0 to 999. The default value is 0. 
Setting this parameter to a nonzero value discourages a user from rapidly 
changing a password in order to defeat the password history setting to reuse a 
recently used password. The minpasswordage policy is not enforced when an 
administrator changes the password for another user.
-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. When -maxpasswordage is set to a nonzero value, 
-minpasswordage must be set to a value less than or equal to 
-maxpasswordage.
-warning value
Specifies the number of days prior to password expiration that a warning of 
password expiration is displayed. The valid range for -warning is 0 to 999. The 
default value to 0.
--enableadminlockout
Enables the admin lockout policy and sets the config parameter 
"passwdcfg.adminlockout" to 1. If the parameter "passwdcfg.lockoutthreshold" is 
set to greater than 0 and Admin Lockout policy is enabled, then, if the number of 
failed login attempts from the last successful login equals the 
"passwdcfg.lockoutthreshold", the account gets locked for the 
"passwdcfg.lockoutduration" duration. The particular account is unlocked 
manually using userconfig --change  account_name -u or it is automatically 
unlocked after "passwdcfg.lockoutduration" duration.
--disableadminlockout
Disables the admin lockout policy if already enabled and sets the config 
parameter "passwdcfg.adminlockout" to 0. By default, admin lockout policy is 
disabled.
--deleteuser username
Removes the password expiration polices for a particular user account.
--deleteuser -all
Removes the password expiration policies of all users.
--help
Displays the command usage.
DIAGNOSTICS
The passwdCfg command may fail for any of the following reasons:
Permission failure
You not permitted to execute the command.
Invalid command line option
An unrecognized command line option was specified.
Minlength value out of range
The -minlength value must be between 8 and 40.
Lowercase value out of range
The -lowercase value specified must be greater than or equal to 0 and less than 
or equal to -minlength value.
Uppercase value out of range
The -uppercase value specified must be greater than or equal to 0 and less than 
or equal to -minlength value.