--disableadminlockout
--setdefault
--showall
-repeat value
-sequence
Examples
To display the current password configuration parameters:
To set passwd configuration parameters, specifying that a password must contain at least two
uppercase characters, and that passwords expire in 90 days from the date they are defined:
Diagnostics
If there is a failure, one or more of the following error messages displays:
Permission failure
Command not supported
Fabric OS Command Reference Manual
53-1000436-01
Disables the admin lockout policy if already enabled and will set the config
parameter "passwdcfg.adminlockout" to 0. By default, admin lockout policy is
disabled.
Resets all password policies to default values.
Displays all the password configuration parameters.
Specifies the length of repeated character sequences that will be
disallowed.For example, if the "repeat" value is set to 3, a password
"passAAAword" is disallowed because it contains the repeated sequence
"AAA". A password of "passAAword" would be allowed because no repeated
character sequence exceeds two characters. The range of allowed values is
1-40.
value
Specifies the length of sequential character sequences that will be
disallowed. A sequential character sequence is defined as a character
sequence in which the ASCII value of each contiguous character differs by
one. The ASCII value for the characters in the sequence must all be
increasing or all decreasing. For example, if the "sequence" value is set to 3, a
password "passABCword" is disallowed because it contains the sequence
"ABC". A password of "passABword" would be allowed because no repeated
character sequence exceeds two characters. The range of allowed values is
1-40. The default value is 1.
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
The user is not permitted to execute the command.
passwdCfg is not supported when secure mode is enabled.
2
passwdCfg
397