Error: User not authorized to execute this command when executing commands via CLI or GUI

Error: User not authorized to execute this command when executing commands via CLI or GUI

book

Article ID: CTX461343

calendar_today

Updated On:

Description

Local User Receives: ERROR: Not authorized to execute this command on CLI and in GUI.

CLI

image.png

GUI

image.png

Resolution

1. Check user under System > User Administration > Users
2. Edit affected user and check command policies bound to the user.
image.png

Via CLI:

show system user <userName>

3. Edit the policy name to check the action.

4. The error, not authorized to execute this command can result where the cmnd is not ".*" but rather "User Need Access".


Problem Cause

This is caused by the Command Policy's Command Spec configured.