passwordcfg command
Use this command to display and configure the password parameters.
The following table contains descriptive text for the options supported by this command.
Option | Description |
---|---|
-legacy | Sets account security to a predefined legacy set of defaults. |
-high | Sets account security to a predefined high set of defaults. |
-exp | Maximum password age (0 - 365 days). Set to 0 for no expiration. |
-cnt | Number of previous passwords that cannot be reused (0 - 5). |
-nul | Allows accounts with no password (yes | no). |
-h | Displays the command usage and options. |
Syntax:
passwordcfg [<em className="ph i">options</em>]
options: {-high}|{-legacy}|{-exp|-cnt|-nul}
-legacy
-high
-exp:
-cnt:
-nul:
-h
Example:
system> passwordcfg
Security Level: Legacy
system> passwordcfg -exp 365
ok
system> passwordcfg -nul yes
ok
system> passwordcfg -cnt 5
ok
system> passwordcfg
Security Level: Customize
-exp: 365
-cnt: 5
-nul: allowed
Give documentation feedback