How to Delete an Admin Account From the Firewall Command Line
25306
Created On 04/16/19 14:27 PM - Last Modified 02/10/21 22:40 PM
Objective
Delete an admin account from the firewall command line.
Environment
- Palo Alto Firewall of Panorama
- Any PAN-OS
Procedure
Use the command delete mgt-config users <username> to delete an admin account from the command line.
admin@firewall> set cli config-output-format set => using set format instead of xml
admin@firewall> configure => Enter configuration mode.
admin@firewall# show mgt-config users => display the configured admin users
admin@firewall# delete mgt-config users <admin username> => delete the non required admin user
admin@firewall# commit => commit the changes
admin@firewall# exit => exit the configuration mode
Note: Once the user is deleted it will take effect immediately even though a commit will show changes pending. Also the user cannot delete himself.