Skip to main content

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.

Table 1. passwordcfg command.

The following table is a multi-row two column table consisting of the options and associated descriptions for this command.

OptionDescription
-legacySets account security to a predefined legacy set of defaults.
-highSets account security to a predefined high set of defaults.
-expMaximum password age (0 - 365 days). Set to 0 for no expiration.
-cntNumber of previous passwords that cannot be reused (0 - 5).
-nulAllows accounts with no password (yes | no).
-hDisplays 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