80
<Sysname> system-view
[Sysname] domain test
[Sysname-isp-test] state block
Local user configuration commands
access-limit
Syntax
access-limit
max-user-number
undo access-limit
View
Local user view
Default level
3: Manage level
Parameters
max-user-number
: Maximum number of concurrent users of the current local user account, in the range 1
to 1024.
Description
Use the
access-limit
command to limit the number of concurrent users of a local user account.
Use the
undo access-limit
command to remove the limitation.
By default, there is no limit to the number of users who concurrently use the same local user account.
This command takes effect only when local accounting is used for the user account.
This limit is not effective for FTP users because accounting is not available for FTP users.
Related commands:
display local-user
.
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
authorization-attribute (local user view/user group view)
Syntax
authorization-attribute
{
acl
acl-number
|
callback-number
callback-number
|
idle-cut
minute
|
level
level
|
user-profile
profile-name
|
vlan
vlan-id
|
work-directory
directory-name
} *
undo authorization-attribute
{
acl
|
callback-number
|
idle-cut
|
level
|
user-profile
|
vlan
|
work-directory
} *
View
Local user view, user group view