HPUXroot解锁

  • 格式:doc
  • 大小:29.00 KB
  • 文档页数:2

从HPUX后面MP LAN网线接入笔记本

Telnet 登入

选择分区

Steps 1: Connect to the ILO of the server and connect to the Command Menu of the

server

MP MAIN MENU:

CO: Console

VFP: Virtual Front Panel

CM: Command Menu

CL: Console Log

SL: Show Event Logs

HE: Main Help Menu

X: Exit Connection

[Server-ilo] MP> CM

Steps 2: After connecting to the Command Menu power off and power on the server. The

option for this is PC(power cycle)

Steps 3: Now the server starts booting, interrupt the boot process by pressing Esc-Esc.

Steps 4: The server will come to Main Menu. There boot the server by typing boot

Main Menu: Enter command or menu > boot

The below message is displayed to interact with ISL prompt or not. Say yes there to boot

the server in single user-mode

Main Menu: Enter command or menu > boot

Interact with IPL (Y, N, or Cancel)?> y

Steps 5: Boot the server in single user mode at the ISL prompt with the command “hpux

–is”

ISL> hpux –is

Steps 6: The server boots in single user mode and the server comes to # prompt.

Steps 7: The server is now in single user mode. As the server is converted to the trusted

system even though you reset the password for root it will not work for the next login. For this the system needs to convert to un trusted mode. To convert the system to un trusted

mode the below mount points need to be mounted

/usr

/var

/opt

Steps 8: These needs to be mounted manually. while mounting these file systems the

error to run fsck may occur, then run fsck on the file system and mount the file systems

#mount /usr

Error: run fsck on /dev/vg00/lvol5/usr

#fsck /dev/vg00/rlvol5/usr

#mount /usr

Steps 9: After mounting the above mentioned mount points then run the below command

to convert the system to the un trusted mode

# /usr/lbin/tsconvert –r

Steps 10: Now the root password can be changed

#passwd root

Steps 11: Boot the server using the “reboot” command. Now the new root password will

work.

Thatz it , NOW you have your new root password for your system :).

This Hub was last updated on February 22, 2012