How to Delete an Admin Account From the Firewall Command Line

How to Delete an Admin Account From the Firewall Command Line

20714
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.

 
 
 


Additional Information


 
 
 


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000PLcECAW&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language