This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

NCM script to change Palo Alto admin password

This is what it looks like when you manually make the change:

admin@PA-VM> configure

admin@PA-VM# set mgt-config users <username> password

Enter password   :

Confirm password :

Based on the above, this is what I'm using in the script:

set mgt-config users admin password

nEwPassword111!

nEwPassword111!

Not only does it not work, it somehow sets an unusable password and I have to use a different local superuser account to change the admin password via the GUI.

Any help is greatly appreciated.