358
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
Default
The default is 7 days.
Views
System view
Predefined user roles
network-admin
Parameters
alert-time
: Specifies the number of days before a user password expires during which the user is
notified of the pending password expiration. The value range is 1 to 30.
Usage guidelines
This command is effective only for non-FTP users. FTP users can only have their passwords
changed by the administrator.
Examples
# Configure the device to notify a user about pending password expiration 10 days before the user's
password expires.
<Sysname> system-view
[Sysname] password-control alert-before-expire 10
Related commands
display password-control
password-control complexity
Use
password-control complexity
to configure the password complexity checking policy.
Use
undo password-control complexity
to remove a password complexity checking item.
Syntax
password-control complexity
{
same-character
|
user-name
}
check
undo password-control complexity
{
same-character
|
user-name
}
check
Default
The global password complexity checking policy is that both username checking and repeated
character checking are disabled. The password complexity checking policy for a user group equals
the global setting. The password complexity checking policy for a local user equals that of the user
group to which the local user belongs.
Views
System view
Summary of Contents for FlexNetwork MSR Series
Page 1005: ...987 ...