root password locked, need root password recovery without shutting down to single user

Posted on 2008-06-12
Last Modified: 2013-12-06

This is urgent.  

I need to login as root to my Itanium HP-UX urgently to collect/copy
some data which is owned by root:sys.

The root password seemed locked & when I go to the physical
console to login, it does not prompt me for new password at
all but only says :

Account is disabled - see Account Administrator

A friend thinks it's possible to connect up to the serial DB9 port
on the server to reset the root password.  It prompted for MX
login but I don't even know what's the id/password for this as
I just took over from a colleague who left
Question by:sunhux
  • 7
  • 3

Author Comment

ID: 21767047
Correction : it's MP login.

I heard I need to invoke some sort of SAM utility after login to
this service processor on serial port to activate back root

I can't shutdown to single user as system is production
LVL 17

Assisted Solution

ExcelGuide earned 500 total points
ID: 21767055
if it is locked down you could try the following:
Remove or disconnect all bootable devices from the system, including all LAN cables. When the box tries to boot, there will be no bootable devices and it will jump to the boot admin menu where you can turn off the special code to not allow boot interrupts. Then power off the unit, reconnect the disks and LANs, and boot up again, now interrupting the boot process.

Author Comment

ID: 21767056

Also, this is a trusted computing server ie /etc/shadow is
not there.
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.


Author Comment

ID: 21767071

The suggestion given by url below won't work as it's not an ordinary account that
I'm trying to reactivate & also I can't even login as root at the
physical console - need something at the MP login to do this.

Author Comment

ID: 21767107

I could now get past the MP login using factory default id & password.

Now what to do next to recover the OS root password?

Author Comment

ID: 21767154

I can't disconnect cables etc, this is a running production server & I can only bring it
down over the weekend but even then, it's not going to be proper shutdown - have
to do abrupt power off / on, right?

Below is the MP screen shot, what to do next?  :

MP login: admin      |        
MP password: ********                    

       Hewlett-Packard Integrated Lights-Out HP Integrity and HP 9000        
| system, or in the course of system mai                  

    (c) Copyright Hewlett-Packard Company 1999-2006.  All Rights Reserved.            |                                                            

                              Revision E.03.30tem expressly consents to such monitoring  |  

                         MP ACCESS IS NOT SECURE
 Default MP users are currently configured and remote access is enabled.            
  Modify default users passwords or delete default users (see UC command)

         CO: Console---                
        VFP: Virtual Front Panel                                
         CM: Command Menu      

* This system is
         CL: Console Lognly authorised users are
         SL: Show Event Logs                            
         HE: Main Help Menu
          X: Exit Connection

[mp001a4b0aabeb] MP> CO

        (Use Ctrl-B to return to MP main menu.)

- - - - - - - - - - Prior Console Output - - - - - - - - - -
.............. (complete)
loading symbol table
loading System Directory (boot.sys) to MFS
loading MFSFILES directory (bootfs) to MFS
Launching /stand/vmunix
SIZE: Text:30730K + Data:7146K + BSS:5380K = Total:43257K

- - - - - - - - - - - - Live Console - - - - - - - - - - - -
LVL 17

Accepted Solution

ExcelGuide earned 500 total points
ID: 21767190

Author Comment

ID: 21767388

Thanks Psychotes but it looks like we still need to reboot the server using
the method given.  HP has called me back to say I will need to reboot & 
there's no way to recover without shutting to single user or reboot.

well, well, that's the problem with too secure a system
LVL 17

Assisted Solution

ExcelGuide earned 500 total points
ID: 21767490
that's too bad to hear...I tried looking for more options, but I cannot seem to find any solutions. I guess if the technical support of HP also says to reboot then the chance of finding another solution would be small....

anyway good luck!!

Author Comment

ID: 21768296

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. Please see for the updated article. It is avail…
In a recent article here at Experts Exchange (, I discussed my nine-month sandbox testing of the Windows 10 Technical Preview, specifically with respect to r…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question