Password recovery CPM 8600

book

Article ID: 168091

calendar_today

Updated On:

Products

XOS

Issue/Introduction

Password recovery CPM 8600
N/A

Cause

N/A

Resolution

You will need console access to the CPM in order to perform this procedure. Once you have setup your console connection reboot the CPM:

Step (1) When you get to the prompt below type "p" so that you are prompted for the password:

GRUB version 0.91 (639K lower / 1047552K upper memory)
Distribution 1
+-------------------------------------------------------------------------+
| Linux (2.4.21-47.EL) |
| Linux (2.4.21-47.ELuni) |
| Linux (2.4.21-47.ELuni) |
| |
| |
+-------------------------------------------------------------------------+
Password: "x40rocks" <--- TYPE IN THE FOLLOWING




Step (2) The next screen will have "Linux (2.4.21-47.ELuni) " highlighted, you want to type "e" to edit

Distribution 1
+-------------------------------------------------------------------------+
| Linux (2.4.21-47.EL) |
| Linux (2.4.21-47.ELuni) <-- Should be highlighted|
| Linux (2.4.21-47.ELuni) |
| |
| |
+-------------------------------------------------------------------------+
Use the up and down arrow keys to select which entry is highlighted.
Press enter to boot the selected OS, 'e' to edit the
commands before booting, 'a' to modify the kernel arguments
before booting, or 'c' for a command-line.


The highlighted entry will be automatically booted in 9 seconds.

************ TYPE "e" HERE BEFORE THE 9 SECONDS *********************


Step (3) In the next screen you will be doing 2 things:

(A) Verify the first "root" line is correctly configured -- In some cases it reads (hd1,0) instead of (hd0,0) which will prevent the CPM from properly booting.

(B) Add the word single to the kernel line


GRUB version 0.91 (639K lower / 1047552K upper memory)
Distribution 1
+-------------------------------------------------------------------------+
| root (hd0,0) <---verify this is correct |
| kernel /vmlinuz-2.4.21-47.ELuni ro root=/dev/sda7 console=ttyS0,9600 |
| |
| |
+-------------------------------------------------------------------------+
Use the up and down arrow keys to select which entry is highlighted.
Press 'b' to boot, 'e' to edit the selected command in the
boot sequence, 'c' for a command-line, 'o' to open a new line
after ('O' for before) the selected line, 'd' to remove the
selected line, or escape to go back to the main menu.


(A) If the line "root (hd0,0) is incorrect you will highlight it and then type "e" for edit, this will result in:

grub edit> root (hd1,0)

You will want to use the left arrow key to highlight the "1" and then press the "Delete" key to remove the "1". You will then type in "0" and press "Enter" to save your changes.

(B) Once you have corrected the "root" line is correct you will want to highlight the second option, line beginning with "kernel" and type "e", this will result in:

[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename. ESC at any time exits. ]

<=ttyS0,9600n8 raid=noautodetect single <--- ADD the word 'single' (no quotes) as seen to the left.

then hit "ENTER". You will subsequently want to type "b" to boot with your modifications.

This will boot the CPM into single user mode. When you are at the prompt you will then want to do the following to reset the password:

For root:

sh-2.05a# passwd
Changing password for user root.
New UNIX password:
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
sh-2.05a#



At this point you can either press "ctrl +d" to continue booting or type "reboot" to reboot the CPM.

Workaround

N/A