Cisco NAC Appliance Hardware Installation Guide, Release 4.7
Root Password Recovery
Downloads: This chapterpdf (PDF - 76.0 KB) The complete bookPDF (PDF - 7.33 MB) | Feedback

Password Recovery

Table Of Contents

Password Recovery

Recovering Root Password for CAM/CAS

Recovering Root Password for CAM/CAS (Release 3.5.x or Below)

Password Recovery

Recovering Root Password for CAM/CAS

Use the following procedure to recover the root password for a CAM or CAS machine. The following password recovery instructions assume that you are connected to the CAM/CAS via a keyboard and monitor (i.e. console or KVM console, NOT a serial console).

Step 1 Power up the machine.

Step 2 When you see the boot loader screen with the "Press any key to enter the menu..." message, press any key.

Step 3 You will be at the GRUB menu with one item in the list "'Cisco Clean Access (2.6.18-128.1.10.el5PAE)." Press "e" to edit.

Step 4 You will see multiple choices as follows:

root (hd0,0)
kernel /vmlinuz-2.6.18-128.1.10.el5PAE ro root=/dev/cciss/c0d0p2 console=tty0 
console=ttyS0,9600n8 crashkernel=128M@16M
initrd /initrd-2.6.18-128.1.10.el5PAE.img

Step 5 Scroll to the second entry (line starting with "kernel...") and press "e" to edit the line.

Step 6 Delete the line "console=ttyS0,9600n8" and edit the line so it appears as follows:

kernel /vmlinuz-2.6.18-128.1.10.el5PAE ro root=/dev/cciss/c0d0p2 console=tty0 single

Step 7 Press "b" to boot the machine in single user mode. You should be presented with a root shell prompt after boot-up (note that you will not be prompted for password).

Step 8 At the prompt, type "passwd", press Enter and follow the instructions.

Step 9 After the password is changed, enter "reboot" to reboot the appliance.

Recovering Root Password for CAM/CAS (Release 3.5.x or Below)

To recover the root password for CAM/CAS on release 3.5(x), you can use the Linux procedure to boot to single user mode and change the root password:

Step 1 Connect to the CAM/CAS machine via console.

Step 2 Power cycle the machine.

Step 3 After power-cycling, the GUI mode displays. Press Ctrl-x to switch to text mode. This displays a "boot:" prompt.

Step 4 At the prompt type: linux single. This boots the machine into single user mode.

Step 5 Type: passwd.

Step 6 Change the password.

Step 7 Reboot the machine using the reboot command.