accseccfg command
This command displays and configures user account security settings for the CMM, including password policies.
If command syntax is not correctly entered, or if a command fails to run, an error message is returned. See Common errors for a list of error messages that apply to all commands or accseccfg command errors for a list of error messages that are specific to the accseccfg command.
Function | What it does | Command | Target (see paths in Command targets) |
---|---|---|---|
Display account security settings | Displays the user account security settings for the CMM. Returned values:
| accseccfg | Primary CMM:
|
Set account security defaults to legacy level | Sets CMM account security to a predefined legacy set of default values. Legacy default values:
Note
| accseccfg -legacy This command can only be run by users who have one or more of the following command authorities:
| Primary CMM:
|
Set account security defaults to high level | Sets CMM account security to a predefined high set of default values. High default values are:
Note
| accseccfg -high This command can only be run by users who have one or more of the following command authorities:
| Primary CMM:
|
Set authentication logging timeout | Sets a custom value for the amount of time that the CMM will not log repeated authentication events (login or logout) by the same user. Note When managing the Lenovo Flex System chassis with a program that uses the Common Information Model (CIM) interface, | accseccfg -alt timeout where timeout is 0, 5, 30, 60, 300, 600, 1800, 3600, 43200, or 86400 seconds. If a value of none is entered, the initial and any repeated authentication events will never be logged. This command can only be run by users who have one or more of the following command authorities:
| Primary CMM:
|
Set user authentication method | Sets a custom value for CMM user authentication method. Important If the authentication method is set to | accseccfg -am method where method is
This command can only be run by users who have one or more of the following command authorities:
| Primary CMM:
|
Enable / disable complex password | Enables or disables the complex password for CMM user authentication. Note
| accseccfg -cp state where state is on or off . This command can only be run by users who have one or more of the following command authorities:
| Primary CMM:
|
Set CLI inactivity timeout | Sets the custom value for CMM CLI inactivity session timeout. | accseccfg -ct timeout where timeout is from 0 to 4,294,967,295 seconds, inclusive. This command can only be run by users who have the following command authorities:
| Primary CMM:
|
Set minimum number of different characters for password | Sets custom value for the minimum number of different characters to be used in a CMM password. Note
| accseccfg -dc number where number is from 0 to 15, inclusive. This command can only be run by users who have one or more of the following command authorities:
| Primary CMM:
|
Enable / disable default administration password expiration | Enables or disables the default administration password expiration for the CMM. If enabled, the manufacturing default 'USERID' account password must be changed at the next login. Note -de must be on to set the | accseccfg -de state where state is on or off . This command can only be run by users who have one or more of the following command authorities:
| Primary CMM:
|
Set account inactivity alert time | Sets custom value for CMM account inactivity alert time. Note The accseccfg -ia value must be less than the accseccfg -id value. | accseccfg -ia time where time is from 0 to 365 days, inclusive. This command can only be run by users who have one or more of the following command authorities:
| Primary CMM:
|
Set state for logging of login events from same IP address | Enables or disables logging of new login events from the same user from the same IP address. Note
| accseccfg -ici state where state is on or off . This command can only be run by users who have one or more of the following command authorities:
| Primary CMM:
|
Set account inactivity disable time | Sets the custom value for CMM account inactivity disable time. Note The accseccfg -id value must be greater than the accseccfg -ia value. | accseccfg -id time where time is from 0 to 365 days, inclusive. This command can only be run by users who have one or more of the following command authorities:
| Primary CMM:
|
Set maximum number of login failures | Sets the custom value for the maximum number of login failures before the CMM locks out a user. | accseccfg -lf number where number is from 0 to 100, inclusive. This command can only be run by users who have one or more of the following command authorities:
| Primary CMM:
|
Set lockout period | Sets the custom value for CMM account lockout period, used when the maximum number of login failures is exceeded. | accseccfg -lp time where time is from 0 to 2880 minutes, inclusive. This command can only be run by users who have one or more of the following command authorities:
| Primary CMM:
|
Set maximum LDAP sessions for user | Sets the custom value for the maximum number of simultaneous login sessions allowed for a single LDAP user | accseccfg -mls max_sessions where max_sessions is from 0 to 20, inclusive. This command can only be run by users who have the following command authorities:
| Primary CMM:
|
Enable / disable password change at first login | Enables or disables the mandatory password change at first CMM login. When on, new users must change their password the first time they log in. If a user password is changed by a system administrator, this user must change their password the next time they log in. Note
| accseccfg -pc state where state is on or off . This command can only be run by users who have one or more of the following command authorities:
| Primary CMM:
|
Set password expiration time | Sets custom value for the CMM password expiration time. | accseccfg -pe time where time is from 0 to 365 days, inclusive. This command can only be run by users who have one or more of the following command authorities:
| Primary CMM:
|
Set password minimum change interval | Sets custom value for the minimum amount of time between CMM password changes. Note If the minimum password change interval is greater than 0, it must be less than password expiration period. | accseccfg -pi time where time is from 0 to 1440 hours, inclusive, and less than password expiration period when that period is greater than 0. This command can only be run by users who have the following command authorities:
| Primary CMM:
|
Set password reuse cycle | Sets custom value for the CMM password reuse cycle. This setting determines how many times a password must be changed before being reused. Note
| accseccfg -rc number_reuses where number_reuses is from 0 to 5, inclusive. This command can only be run by users who have the following command authorities:
| Primary CMM:
|
Set web interface inactivity timeout | Sets custom value for CMM web interface inactivity session timeout. | accseccfg -wt timeout where timeout is 1, 5, 10, 15, or 20 minutes, none (no timeout), or user (user picks timeout each time they log in to the web interface). This command can only be run by users who have one or more of the following command authorities:
| Primary CMM:
|
Example:
accseccfg -legacy -T mm[p]
accseccfg -T mm[p]
accseccfg -alt none -T mm[p]
The following example shows the information that is returned from these commands:
system> accseccfg -legacy -T mm[p]
OK
system> accseccfg -T mm[p]
-legacy
-alt 300
-am local
-cp off
-ct 0
-dc 0
-de off
-ia 0
-ici off
-id 0
-lf 20
-lp 2
-mls 0
-pc off
-pe 0
-pi 0
-rc 0
-wt user
<span className="ph">system> accseccfg -alt none -T mm[p]
OK</span>
system>