From the CLI can I update other admin account passwords?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.
Palo Alto Networks Approved
Palo Alto Networks Approved
Community Expert Verified
Community Expert Verified

From the CLI can I update other admin account passwords?

L3 Networker

If so, what is the syntax? I see where i can use the "set password" to update the account i'm currently logged on with. Also, if a use has locked out their account can i unlock it from the CLI?

2 accepted solutions

Accepted Solutions

L3 Networker

configure

set mgt-config users <admin-username> phash <password>

commit

View solution in original post

Hi Team,

 

This is correct syntax

 

config

#set mgt-config users admin password
Enter password :------------put new pw
Confirm password :------------confirm new pw

 

Then do the commit

 

Regards

MP

Help the community: Like helpful comments and mark solutions.

View solution in original post

6 REPLIES 6

L3 Networker

configure

set mgt-config users <admin-username> phash <password>

commit

L2 Linker

This appears to no longer work.

# set mgt-config users testAdmin $hittyP@$$w0rd

Invalid syntax.

the mgt-config command no longer appears to exist.

 

@Rich.H 

 

I am running 10.1.2 and when you go into configure mode.. the command is there

 

SteveCantwell_0-1629820364088.png

 

Help the community: Like helpful comments and mark solutions

L2 Linker

It seems the account I was attempting it from was a Device Administrator role rather than a superuser.  Once I changed it to Super user, the command is available.

@Rich.H 

 

)# set mgt-config users mmmm2
+ authentication-profile authentication-profile
+ client-certificate-only Is client certificate authentication enough?
+ password-profile password-profile
+ public-key Public RSA/DSA
> permissions permissions
> phash phash
> preferences preferences
password password
<Enter> Finish input

 

# set mgt-config users mmmm2 phash
<value> phash value

 

Regards

MP

Help the community: Like helpful comments and mark solutions.

Hi Team,

 

This is correct syntax

 

config

#set mgt-config users admin password
Enter password :------------put new pw
Confirm password :------------confirm new pw

 

Then do the commit

 

Regards

MP

Help the community: Like helpful comments and mark solutions.
  • 2 accepted solutions
  • 25977 Views
  • 6 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!