System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

HPUX 11 - Unable to log on to console to reset root

SOLVED
Go to solution
Tim O'Connell
Regular Advisor

HPUX 11 - Unable to log on to console to reset root

Hi All,
My root password expired over the weekend. When I came in this morning, I couldn't log on as root. I have the old password but can't get in to change it. When I use the web console, I just get a black screen with a little yellow triangle containing an ! at the top right. I have also connected a console to the back of the server but just have a blank screen there as well. I can log on to the server with my username but unfortunately, I don't have root access. Is there anyway of resetting the console card - its internal at the back of the server. Other than that, I will have to reboot tonight. Any help appreciated.

Tim
20 REPLIES
sujit kumar singh
Honored Contributor
Solution

Re: HPUX 11 - Unable to log on to console to reset root

Hi

what is the model of the server and are you sure that you have logged on to the serial console for that.

if logged on to the serial console, make sure that you have the proper serial cable for that.

just logging to the console are you able to see the console MP> prompt as well as other menu items as VFP,SL,CO,CM etc

regards
sujit
Tim O'Connell
Regular Advisor

Re: HPUX 11 - Unable to log on to console to reset root

Thanks, Sujit

You pointed me in the right direction. I found another console cable connected to an old HP server & now I'm getting the logon prompt. However, when I try to log in as root I get this message - account is disabled but console login is allowed.

Tim
Torsten.
Acclaimed Contributor

Re: HPUX 11 - Unable to log on to console to reset root

Now the question is - what is the console?

For example on Integrity servers this could either be the serial port/MP or even VGA.

Please tell what server you have and where you get the prompt now.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Tim O'Connell
Regular Advisor

Re: HPUX 11 - Unable to log on to console to reset root

Hi Sujit,

It's an RP5430.

Tim
Torsten.
Acclaimed Contributor

Re: HPUX 11 - Unable to log on to console to reset root

OK, no VGA.

Get the "M" or "W" cable and connect your console to the "console" port. You should get the GSP prompt now. Do a "co" to get the console. Does this work?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Tim O'Connell
Regular Advisor

Re: HPUX 11 - Unable to log on to console to reset root

Yes, I get the console login & can log in as a standard user but not root.

Tim
sujit kumar singh
Honored Contributor

Re: HPUX 11 - Unable to log on to console to reset root

as pointed by torsten, from the MP Menu,
do a
co that will take you to the console

login as root as you see that though the account is disabled console login is pewrmitted, so login as root giving the password.

once logged on

can use SAM - go to user and groups -- users --- scroll and select root --- use activate

regards
sujit
sujit kumar singh
Honored Contributor

Re: HPUX 11 - Unable to log on to console to reset root

hi


logging to console as root , thouigh the account is disabled, you shall need to gove the correct password.

what is exact error message as you try logging in as root ot the console?

please give the correct password fr root

regards
sujit
Tim O'Connell
Regular Advisor

Re: HPUX 11 - Unable to log on to console to reset root

Thanks Sujit & Torsten,

I have found what the problem is. My password contains a £ symbol but the terminal goes backwards when I select the pound symbol. It doesn't display the symbol

Tim
Tim O'Connell
Regular Advisor

Re: HPUX 11 - Unable to log on to console to reset root

Anyone know a way of entering the pound symbol?

Tim
sujit kumar singh
Honored Contributor

Re: HPUX 11 - Unable to log on to console to reset root

are you using putty, you can try writing the password on a notepad and copy and paste the same while prompted for password

regards
sujit
Torsten.
Acclaimed Contributor

Re: HPUX 11 - Unable to log on to console to reset root

Copy'n'paste?

£

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Tim O'Connell
Regular Advisor

Re: HPUX 11 - Unable to log on to console to reset root

I'm connected to the console port with a dumb terminal so can't do the copy & paste

Tim
Tim O'Connell
Regular Advisor

Re: HPUX 11 - Unable to log on to console to reset root

Torsten,

I've got a laptop connected now. How did you create the à £. When I copy it, it comes as 2 chars.

Tim
Dennis Handly
Acclaimed Contributor

Re: HPUX 11 - Unable to log on to console to reset root

>My password contains a # symbol but the terminal goes backwards when I select the pound symbol.

You quote it with "\#".
If you read passwd(1), it cautions you about not using # or @.
Tim O'Connell
Regular Advisor

Re: HPUX 11 - Unable to log on to console to reset root

Thanks, Dennis

I'll try it. Its the pound symbol but I guess it's the same

Tim
Dennis Handly
Acclaimed Contributor

Re: HPUX 11 - Unable to log on to console to reset root

>It's the pound symbol but I guess it's the same

Yes. For Americans, "#" IS the pound symbol. :-)
It uses the same ASCII char.
Norm Diederich
Honored Contributor

Re: HPUX 11 - Unable to log on to console to reset root

Tim,

When you reboot, at the console boot into single user mode.

That will get the console logged in as root.

Once logged in, you can use passwd without the old password to enter a new root password.

Regards,
Norm
Tim O'Connell
Regular Advisor

Re: HPUX 11 - Unable to log on to console to reset root

Thanks to all who replied. I've assigned points. It's the first time I've used the pound (£) symbol in the password & definitely the last time. We have a policy, enforced by our auditors, of changing the password every 30 days so the pound happened to be the next symbol on the keyboard I used.
Again, thanks to all. I will reboot tonight.

Thanks,

Tim
Tim O'Connell
Regular Advisor

Re: HPUX 11 - Unable to log on to console to reset root

Cracked it. I was going thru' my notes & about 5 years ago I set up Sudo but never used it. I have given my user account full access. Eventhough I had locked out my a/c while trying to get on the console, I still had a reflections session running on my PC logged in as my user.
I did sudo su, put in my password & got in as root. I was then able to unlock the root a/c & change the password. This is a great Christmas present !!!!. Thank God for paper notes.
Thanks for all the help,

Tim