Got it

How do I change an account so that it has only certain operation rights

Created: Apr 8, 2020 03:55:50Latest reply: Apr 8, 2020 03:57:19 324 1 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hi all,

We hope to provide an AC account to a user. This account only has the authority to log in to the device through ssh and add/delete the MAC addresses of STAs to the blacklist or whitelist.

We configured the following related commands but this account can still use other commands.

local-user test privilege level 3

local-user test service-type telnet terminal ssh

command-privilege level 2 view wlan-whitelist-prof sta-MAC


Featured Answers
Popeye_Wang
Admin Created Apr 8, 2020 03:57:19

Hello,

Users at level 2 or higher can use service commands. Since you set the user level to 3, all commands can be used.

https://support.huawei.com/hedex/hdx.do?docid=EDOC1100008272&id=user_privilege&lang=en

To meet the requirements, you can set the user level to 1 and lower the command level to 1 too. The command is as follows:

local-user test privilege level 1

command-privilege level 1 view user system-view

command-privilege level 1 view wlan-view sta-blacklist-profile

command-privilege level 1 view wlan-whitelist-prof sta-MAC

command-privilege level 1 view wlan-blacklist-prof sta-MAC


View more
  • x
  • convention:

All Answers

Hello,

Users at level 2 or higher can use service commands. Since you set the user level to 3, all commands can be used.

https://support.huawei.com/hedex/hdx.do?docid=EDOC1100008272&id=user_privilege&lang=en

To meet the requirements, you can set the user level to 1 and lower the command level to 1 too. The command is as follows:

local-user test privilege level 1

command-privilege level 1 view user system-view

command-privilege level 1 view wlan-view sta-blacklist-profile

command-privilege level 1 view wlan-whitelist-prof sta-MAC

command-privilege level 1 view wlan-blacklist-prof sta-MAC


View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.