HPE Storage Users Group
https://3parug.net/

HP 3PAR Password Recovery
https://3parug.net/viewtopic.php?f=18&t=2549
Page 1 of 1

Author:  NetRock [ Fri Jun 09, 2017 11:30 am ]
Post subject:  HP 3PAR Password Recovery

Hello,

A customer who I started working with has a HP 3PAR 7200 but unfortunately forgot 3paradm's
password! I want to know how can I reset StorServ's admin account.

Thank you

Author:  Richard Siemers [ Sun Jun 11, 2017 10:31 am ]
Post subject:  Re: HP 3PAR Password Recovery

If you know the service processor credentials, such as 3parcust, you can backdoor into the Inserv using the service processor. The SP connects to the Inserv with a certificate for the 3parsvc user account, and will use that credential when you run cli commands from the SP.

I don't believe you will be able to use the web interface though, my assumption is that the CLI commands are not interactive, you give a command, it runs it, and displays the output in html. The setpassword command requires interaction... so use ssh instead to connect to the service processor and start an interactive CLI with the Inserv to run setpassword.

Author:  NetRock [ Fri Jun 16, 2017 7:20 am ]
Post subject:  Re: HP 3PAR Password Recovery

Hi Richard!

Thanks for your reply!

You mean that I should make a SSH connection to VSP , login with 3parcust and then run setpassword to change password of 3paradm?

Author:  natekippen [ Fri Jun 16, 2017 11:02 am ]
Post subject:  Re: HP 3PAR Password Recovery

You might have better luck using spvar

Author:  Richard Siemers [ Fri Jun 16, 2017 7:14 pm ]
Post subject:  Re: HP 3PAR Password Recovery

NetRock wrote:
Hi Richard!

Thanks for your reply!

You mean that I should make a SSH connection to VSP , login with 3parcust and then run setpassword to change password of 3paradm?


That is exactly what I mean.

Author:  NetRock [ Sat Jul 22, 2017 8:28 am ]
Post subject:  Re: HP 3PAR Password Recovery

Richard Siemers wrote:
NetRock wrote:
Hi Richard!

Thanks for your reply!

You mean that I should make a SSH connection to VSP , login with 3parcust and then run setpassword to change password of 3paradm?


That is exactly what I mean.


Hi!

As you instructed I tried to execute setpassword command through VSP but
it seems that the command times out. What I think is the prompt is waiting
to enter the password but it does not appear on SPOCC screen. I could easily
execute other commands like %showsys and etc.

I entered "setpassword -u 3paradm"

Do you have any idea how to solve the problem?

Thank you

Author:  NetRock [ Sun Jul 23, 2017 7:17 am ]
Post subject:  Re: HP 3PAR Password Recovery

Finally I found the solution!

Instead of reseting 3paradm password, I created a user with Super role, logged in through IMC and
then reset 3paradm password. I ran the following command in command execution part of SPOCC:

%createuser -c {PASSWORD} {USER} all super

Thank you Richard for giving me the idea of executing command through VSP.

Author:  EmoryMac [ Sun Oct 22, 2017 9:45 am ]
Post subject:  Re: HP 3PAR Password Recovery

Thanks for posting the solution NetRock. That worked for me.

Author:  cbuxton [ Thu Feb 08, 2018 12:04 pm ]
Post subject:  Re: HP 3PAR Password Recovery

What am I doing wrong? I get a createuser : Permission denied when I try to do this. I have logged in with both 3parcust and 3parvar and both get permission denied when trying to run the createuser command.

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/