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

Reminder

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

upgrade

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 local user safe_strategy

change local user safe_strategy

Function

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

Format

change local user safe_strategy [ pwd_min_length=? ] [ pwd_max_length=? ] [ pwd_complex=? ] [ max_reduplicate_char_num=? ] [ pwd_max_valid_period=? ] [ pwd_incorrect_time=? ] [ pwd_change_interval=? ] [ name_min_length=? ] [ inactive_user_Lock_time=? ]

Parameters

Parameter

Description

Value

pwd_min_length Minimum password length.

The value is an integer ranging from 8 to 32. The default value is 8.

pwd_max_length Maximum password length.

The value is an integer ranging from 8 to 32. The default value is 16.

pwd_complex Password complexity.

The value can be normal or high. The default value is normal.

normal: The value must contain special characters and at least two of the following types: lowercase characters, uppercase characters, and digits.

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

The password can contain special characters and special characters does not need to be escaped.

Special characters include: `~!@#$%^&*()-_=+|[{}];:'\",<.>/?. and space.

max_reduplicate_char_num Maximum number of consecutive repeated characters.

The value is an integer ranging from 0 to 9. 0 indicates no limit. The default value is 3.

pwd_max_valid_period Password validity period.

The value is an integer ranging from 0 to 999. The default value is 0. 0 indicates that the password is valid permanently.

pwd_Incorrect_time Times of entering incorrect passwords.

The value is an integer ranging from 0 to 999. 0 indicates that the number is unlimited. The default value is 5. If the number of consecutive failed login attempts due to incorrect passwords reaches the upper limit in 1 minute on one node, this account is locked for 1 minute.

pwd_change_interval Interval time of modifying password.

The value is an integer ranging from 1 to 9999. The default value is 5. 0 indicates that the password can be modified at any time.

name_min_length The minimum of user name.

The value is an integer ranging from 3 to 31. The default value is 8.

inactive_user_Lock_time The offline time of user.

The value is an integer ranging from 0 to 999. The default value is 0. The user will be locked if it exceeds the upper time. 0 indicates that the user is never locked.

Level

Administrator

Usage Guidelines

None.

Example

  • Modify the security policy of a local user.

    admin:/>change local user safe_strategy max_reduplicate_char_num=5
    Command executed successfully.
  • Modify the security policy of a local user.

    admin:/>change local user safe_strategy inactive_user_Lock_time=10 
    WARNING: When the number of unused days of an account is greater than the preset value, the login fails and the user cannot access services.
    Have you read warning message carefully?(y/n)y
    Are you sure you want to perform the operation?(y/n)y
    Command executed successfully.
  • Modify the security policy of a local user.

    admin:/>change local user safe_strategy pwd_max_valid_period=10 
    WARNING: When the number of days for which a password is used is greater than the password validity period, the login fails and the user cannot access services.
    Have you read warning message carefully?(y/n)y
    Are you sure you want to perform the operation?(y/n)y
    Command executed successfully.
  • Modify the security policy of a local user.

    admin:/>change local user safe_strategy inactive_user_Lock_time=10 pwd_max_valid_period=10
    WARNING: When the number of days for which a password is used is greater than the password validity period, the login fails and the user cannot access services. When the number of unused days of an account is greater than the preset value, the login fails and the user cannot access services.
    Have you read warning message carefully?(y/n)y
    Are you sure you want to perform the operation?(y/n)y
    Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-05-07

Document ID: EDOC1100067955

Views: 25057

Downloads: 7

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