Comware Based
cancel
Showing results for 
Search instead for 
Did you mean: 

Password recovery

SOLVED
Go to solution
KennyP
Occasional Contributor

Password recovery

I'm trying to understand the process of recovery a lost aux password on a HP 5120. I get into the boot menu hit option 7 and do the reboot. Then from there I get into the switch I'm able to run the command "more startup.cfg" I can then see my old config and the password is hash. From the instructions I found they say to copy that old config using tftp, but I was wondering is there a way to just copy the startup.cfg into the running one and change my password from there? 

2 REPLIES
racowi
Advisor
Solution

Re: Password recovery

I think you can do this:
<HP> sys
[HP] configuration replace file startup.cfg
Answer "No" if ask for save config.

Wait... until you can write again on the CLI... change your password and then save the configuration.

Let me know if you try this.

KennyP
Occasional Contributor

Re: Password recovery

That worked!!! I kept telling it to save durning the replace process. Thanks and cheers!!!