3PAR Users Group

A Storage Administrator Community




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: HP 3PAR Password Recovery
PostPosted: Fri Jun 09, 2017 11:30 am 

Joined: Thu Jun 08, 2017 6:58 am
Posts: 10
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


Top
 Profile  
Reply with quote  
 Post subject: Re: HP 3PAR Password Recovery
PostPosted: Sun Jun 11, 2017 10:31 am 
Site Admin
User avatar

Joined: Tue Aug 18, 2009 10:35 pm
Posts: 1148
Location: Ft Worth, Texas
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.

_________________
Richard Siemers
Storage Admin, Pier 1 Imports
The opinions and positions expressed are my own and do not necessarily reflect those of Pier 1 Imports.


Top
 Profile  
Reply with quote  
 Post subject: Re: HP 3PAR Password Recovery
PostPosted: Fri Jun 16, 2017 7:20 am 

Joined: Thu Jun 08, 2017 6:58 am
Posts: 10
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?


Top
 Profile  
Reply with quote  
 Post subject: Re: HP 3PAR Password Recovery
PostPosted: Fri Jun 16, 2017 11:02 am 

Joined: Sun Dec 21, 2014 3:05 pm
Posts: 63
You might have better luck using spvar


Top
 Profile  
Reply with quote  
 Post subject: Re: HP 3PAR Password Recovery
PostPosted: Fri Jun 16, 2017 7:14 pm 
Site Admin
User avatar

Joined: Tue Aug 18, 2009 10:35 pm
Posts: 1148
Location: Ft Worth, Texas
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.

_________________
Richard Siemers
Storage Admin, Pier 1 Imports
The opinions and positions expressed are my own and do not necessarily reflect those of Pier 1 Imports.


Top
 Profile  
Reply with quote  
 Post subject: Re: HP 3PAR Password Recovery
PostPosted: Sat Jul 22, 2017 8:28 am 

Joined: Thu Jun 08, 2017 6:58 am
Posts: 10
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


Top
 Profile  
Reply with quote  
 Post subject: Re: HP 3PAR Password Recovery
PostPosted: Sun Jul 23, 2017 7:17 am 

Joined: Thu Jun 08, 2017 6:58 am
Posts: 10
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: HP 3PAR Password Recovery
PostPosted: Sun Oct 22, 2017 9:45 am 

Joined: Wed Oct 18, 2017 3:23 am
Posts: 1
Thanks for posting the solution NetRock. That worked for me.


Top
 Profile  
Reply with quote  
 Post subject: Re: HP 3PAR Password Recovery
PostPosted: Thu Feb 08, 2018 12:04 pm 

Joined: Thu Dec 05, 2013 9:44 am
Posts: 13
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.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 


Who is online

Users browsing this forum: Majestic-12 [Bot] and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group | DVGFX2 by: Matt