Password-Control Alert-Before-Expire - HP 6125XLG Command Reference Manual

Blade switch security command reference
Table of Contents

Advertisement

Default
A password expires after 90 days. The password expiration time of a user group equals the global
setting, and the password expiration time of a local user equals that of the user group to which the local
user belongs.
Views
System view, user group view, local user view
Predefined user roles
network-admin
Parameters
aging-time: Specifies the password expiration time in days, in the range of 1 to 365.
Usage guidelines
The expiration time in system view has global significance and applies to all user groups. The expiration
time in user group view applies to all local users in the user group. The expiration time in local user view
applies only to the local user.
A password expiration time with a smaller application scope has higher priority. The system prefers to
use the password expiration time in local user view for a local user. If no password expiration time is
configured for the local user, the system uses the password expiration time for the user group to which the
local user belongs. If no password expiration time is configured for the user group, the system uses the
global password expiration time.
Examples
# Globally set the passwords to expire after 80 days.
<Sysname> system-view
[Sysname] password-control aging 80
# Set the passwords for user group test to expire after 90 days.
[Sysname] user-group test
[Sysname-ugroup-test] password-control aging 90
[Sysname-ugroup-test] quit
# Set the password for device management user abc to expire after 100 days.
[Sysname] local-user abc class manage
[Sysname-luser-manage-abc] password-control aging 100
Related commands
display password-control
password-control aging enable

password-control alert-before-expire

Use password-control alert-before-expire to set the number of days before a user's password expires
during which the user is notified of the pending password expiration.
Use undo password-control alert-before-expire to restore the default.
Syntax
password-control alert-before-expire alert-time
undo password-control alert-before-expire
129

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents