HP 6125XLG R2306-HP 6125XLG Blade Switch Security Command Reference - Page 145
password-control login idle-time
View all HP 6125XLG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 145 highlights
A minimum password length with a smaller application scope has higher priority. The system prefers to use the minimum password length in local user view for a local user. If no minimum password length is configured for the local user, the system uses the minimum password length for the user group. If no minimum password length is configured for the user group, the system uses the global minimum password length. Examples # Set the global minimum password length to 9 characters. system-view [Sysname] password-control length 9 # Set the minimum password length to 9 characters for user group test. [Sysname] user-group test [Sysname-ugroup-test] password-control length 9 [Sysname-ugroup-test] quit # Set the minimum password length to 9 characters for device management user abc. [Sysname] local-user abc class manage [Sysname-luser-manage-abc] password-control length 9 Related commands • display password-control • password-control length enable password-control login idle-time Use password-control login idle-time to set the maximum account idle time. If a user account is idle for this period of time, you can no longer use this account to log in to the device. Use undo password-control login idle-time to restore the default. Syntax password-control login idle-time idle-time undo password-control login idle-time Default You cannot use a user account to log in to the device if the account has been idle for 90 days. Views System view Predefined user roles network-admin Parameters idle-time: Specifies the maximum account idle time in days, in the range of 0 to 365. 0 means no restriction for account idle time. Usage guidelines If a user has not been logged in within the specified idle time since the last successful login, the user account becomes invalid. 136