36
Default
There is no limit to the number of users who concurrently use the same local user account.
Views
Local user view
Default command level
3: Manage level
Parameters
max-user-number
: Maximum number of concurrent users of the same local user account, ranging
from 1 to 1024.
Usage guidelines
This command takes effect only when local accounting is used for the user account.
This limit has no effect on FTP users because accounting is not available for FTP users.
Examples
# Limit the maximum number of concurrent users of local user account
abc
to 5.
<Sysname> system-view
[Sysname] local-user abc
[Sysname-luser-abc] access-limit 5
Related commands
display local-user
authorization-attribute
Use
authorization-attribute
to configure authorization attributes for the local user or user group.
After the local user or a local user of the user group passes authentication, the device assigns these
attributes to the user.
Use
undo authorization-attribute
to remove authorization attributes and restore the defaults.
Syntax
authorization-attribute
{
acl
acl-number
|
callback-number
callback-number
|
idle-cut
minute
|
level
level
|
user-profile
profile-name
|
user-role
{
guest
|
guest-manager
|
security-audit
} |
vlan
vlan-id
|
work-directory
directory-name
} *
undo authorization-attribute
{
acl
|
callback-number
|
idle-cut
|
level
|
user-profile
|
user-role
|
vlan
|
work-directory
} *
Default
No authorization attribute is configured for a local user or user group.
Views
Local user view, user group view
Default command level
3: Manage level
Parameters
acl
acl-number
: Specifies the authorization ACL. The ACL number must range from 2000 to 5999.
After passing authentication, a local user is authorized to access the network resources specified by
this ACL.