No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


OceanStor 9000 V5 7.0 Command Reference 03

Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
change system user safe_strategy

change system user safe_strategy


The change system user safe_strategy command is used to modify the security policy of a system user.


change system user safe_strategy [enable_define_prompt=?] [enable_inactive_lock=?] [enable_login_prompt=?] [enable_pwd_lock=?] [enable_verify_code=?] [pwd_ahead_prompt_time=?]





enable_define_prompt Whether enable define prompt.

true: enable define prompt.

false: disable define prompt.

enable_inactive_lock Whether lock inactive user.

true: enable inactive lock.

false: disable inactive lock.

enable_login_prompt Whether enable login prompt.

true: enable login prompt.

false: enable login prompt.

enable_pwd_lock Whether to enable the password lock mechanism.

true: Enables the password lock mechanism.

false: Disables the password lock mechanism.

After the password lock mechanism is enabled, a system user will be locked if the system user enters incorrect password for times that exceed the threshold. After the system user is locked, the system user cannot log in to the storage system during the password locked period.

enable_verify_code Whether to enable the verification code mechanism.

true: enables the verification code mechanism.

false: disables the verification code mechanism.

pwd_ahead_prompt_time Password expiration warning period.

The value is an integer from 1 to 99.

The default value is 7.

pwd_complex Complexity of the user password. A complex password is recommended.

normal: normal, must contain special characters and any two types of uppercase letters, lowercase letters and digits.

high: high, must contain special characters, uppercase letters, lowercase letters and digits.

The default value is normal, and the special characters include !"#$%&'()*+,-./:;<=>?@[\]^`{_|}~ and spaces.

pwd_expired_time Password's valid period.

The value is ranges from 0 to 999 (unit: day).

pwd_history_count The retained count of history password.

The value is ranges from 0 to 30.

The default value is 3.

pwd_incorrect_time Times of entering incorrect passwords.

The value is an integer ranging from 1 to 9.

The default value is 3.

pwd_lock_time Password locked period.

Temporary lock: the value ranges from 3 to 2000 (unit: minute).

Permanent lock: the value is 0.

The default value is 15.

pwd_max_length MAX. Length.

The value is an integer ranging from 8 to 32.

pwd_min_length Min. Length.

The value is an integer from 8 to 32.

The default value is 8.

pwd_min_time Min. Password Lifespan.

The value is an integer from 0 to 9999.

The default value is 5(unit: minite).

pwd_reduplicate number of duplicate characters.

The value is an integer from 0 to 9.

The dafault value is 3.

session_expired_time Session' valid period.

The value ranges from 1 to 1440 (unit: minute).

The default value is 30.

user_define_notes User-defined notes.

The value contains 1 to 511 characters.

user_inactive_day Account Lock.

The value is an integer from 1 to 999.

The default value is 60(unit: day).


Super administrator

Usage Guidelines



Modify the security policy of a system user.

admin:/>change system user safe_strategy pwd_min_length=9 
Command executed successfully.

System Response


Updated: 2019-05-07

Document ID: EDOC1100067955

Views: 24264

Downloads: 7

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next