1-19
Configuring Local User Attributes
For local authentication, you need to create local users and configure user attributes on the device as
needed.
A local user represents a set of user attributes configured on a device, and such a user set is uniquely
identified by the username. For a user requesting network service to pass local authentication, you
must add an entry as required in the local user database of the device.
Each local user belongs to a local user group and bears all attributes of the group, such as the
password control attributes and authorization attributes. For details about local user group, refer to
Configuring User Group Attributes
.
When configuring local users and local user groups, pay attention to the effective ranges and priority
relationship of user group attributes and user attributes:
z
Authorization attributes
You can configure an authorization attribute in user group view or local user view, making the attribute
effective on all local users of the group or only the local user. An authorization attribute configured in
local user view takes precedence over the same attribute configured in user group view.
Follow these steps to configure the attributes for a local user:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Set the password display mode
for all local users
local-user
password-display-mode
{
auto
|
cipher-force
}
Optional
auto
by default, indicating
to display the password of
a local user in the way
indicated by the
password
command.
Add a local user and enter local
user view
local-user user-name
Required
No local user exists by
default.
Configure a password for the local
user
password
{
cipher
|
simple
}
password
Optional
Place the local user to the state of
active or blocked
state
{
active
|
block
}
Optional
When created, a local user
is in the state of active by
default, and the user can
request network services.
Set the maximum number of user
connections using the local user
account
access-limit max-user-number
Optional
By default, there is no limit
on the maximum number of
user connections using the
same local user account.
Specify the service types for the
local user
service-type
{
ftp
|
lan-access
|
{
ssh
|
telnet
|
terminal
} * }
Optional
By default, no service is
authorized to a user.