Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Nickel

Command to set the expert password in CLI using playbooks/scripts

Hi Team,

 

Is there any command to set expert password without user interactive.we are automating to create a new user and setting up a expert password through ansible. Please let me know if any commands works without manual intervention.as a single command we have to give expert password.

if we five set-expert pass its asking us to give password manually.Please help me on the same.

 

Regards

Aathi

0 Kudos
1 Reply
Pearl

Re: Command to set the expert password in CLI using playbooks/scripts

That‘s easy. Just set the Expert password manually on one system, show configuration, use the shown syntax in your automation script for all other systems with the same expert password.

set expert-password-hash $1$ABCDEFAB$ABSDEFabcdefABCDEF
0 Kudos