Reference Guide

Brocade Fabric OS Command Reference 593
53-1004112-02
passwdCfg
--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.
--hash md5 | sha256 | sha512
Sets the hash type. Valid values are "md5", "sha256", or "sha512". After password hash type
is configured on switch, you will be prompted to change the passwords on the next login if
hash type of password is different from the configured hash type on switch.
-manual
Requires manual password change.
--showhash [username | -all]
Displays password hash configuration for the given user or all users. When executed
without optional parameters, this command displays the password hash configured in the
system.
--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.