365
# Set the minimum password length to 16 characters for the user group
test
.
[Sysname] user-group test
[Sysname-ugroup-test] password-control length 16
[Sysname-ugroup-test] quit
# Set the minimum password length to 16 characters for the device management user
abc
.
[Sysname] local-user abc class manage
[Sysname-luser-manage-abc] password-control length 16
Related commands
display local-user
display password-control
display user-group
password-control length enable
password-control login idle-time
Use
password-control login idle-time
to set the maximum account idle time.
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
The maximum account idle time is 90 days.
Views
System view
Predefined user roles
network-admin
Parameters
idle-time
: Specifies the maximum account idle time in days. The value range is 0 to 365. 0 means no
restriction for account idle time.
Usage guidelines
If a user account is idle for this period of time, the account becomes invalid and can no longer be
used to log in to the device.
Examples
# Set the maximum account idle time to 30 days.
<Sysname> system-view
[Sysname] password-control login idle-time 30
Related commands
display password-control
Summary of Contents for FlexNetwork MSR Series
Page 1005: ...987 ...