Controller Based WLANs

 View Only
last person joined: one year ago 

APs, Controllers, VIA

How do I restore the 'root' password on MMS? 

Jul 01, 2014 07:44 PM

Product and Software: This article applies to all Aruba MMS versions.

 

MMS uses GRUB as the bootloader, and recovery is same as for any Linux system using GRUB.

The procedure is to boot in single-user mode and change the password. It is recommended to use the serial port for password recovery. If using a monitor connected to the video port, see the note at the end of step 5.

To recover the root password, follow these steps. (After each step a screen shot from the serial port has been included below it.)

 

1. Power down the MMS.

Broadcast message from root (ttyS1) (Thu Jan 17 12:57:04 2008):

The system is going down for reboot NOW!  INIT: Sending processes the TERM signal  Stopping HAL daemon: [ OK ]  Stopping system message bus: [ OK ]  Stopping atd: [ OK ]  Stopping cups: [ OK ]  Shutting down console mouse services: [ OK ]  Stopping httpd: [ OK ]  Stopping sshd:[ OK ]  Shutting down sendmail: [ OK ]  Shutting down sm-client: [ OK ]  Shutting down smartd: [FAILED]  Stopping xinetd: [ OK ]  Stopping acpi daemon: [ OK ]  Stopping crond: [ OK ]  Stopping ipmi: [ OK ]  Shutting down ntpd: [ OK ]  Stopping NFS statd: [FAILED]e  Stopping irqbalance: [ OK ]  Shutting down kernel logger: [ OK ]  Shutting down system logger: [ OK ]  Shutting down interface eth0: [ OK ]  Shutting down loopback interface: [ OK ]  Stopping iptables: [ OK ]  Stopping sysstat: [ OK ]  Starting killall: [ OK ]  Sending all processes the TERM signal... stunnel[2292]: Received signal 15; terminating

Sending all processes the KILL signal...  Saving random seed:  Syncing hardware clock to system time  Turning off swap:  Turning off quotas:  Unmounting pipe file systems:  Unmounting file systems:

Halting system...  md: stopping all md devices.  md: md0 switched to read-only mode.  megaide: flushing drive(s) cache....  Power down. 

 

2. Press the power button to bring up the system.

 

3. After the system restarts and you see "press any key" messages, press the 'e' key. GRUB boot options are displayed:

Press any key to continue.  Press any key to continue.  Press any key to continue.

----------------------------------------------------------------

GNU GRUB version 0.95 (632K lower / 2096000K upper memory)

----------------------------------------------------------------

Red Hat Enterprise Linux ES (2.6.9-34.ELsmp)

Red Hat Enterprise Linux ES-up (2.6.9-4.EL)

-----------------------------------------------------------------

Use the ^ and v 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.

 

4. Select the first option and press the 'e' key. Boot option details are displayed:

 

-----------------------------------------------------------------

GNU GRUB version 0.95 (632K lower / 2096000K upper memory)

-----------------------------------------------------------------  root (hd0,0)

kernel /vmlinuz-2.6.9-34.ELsmp ro root=/dev/VolGroup00/LogVol00 quiet> 
initrd /initrd-2.6.9-34.ELsmp.img  -------------------------------------------------------------------

Use the ^ and v 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.

 

5. Go to the second line, the one that starts with 'kernel', and press 'e' for edit. Add "single" at the end of the line. Press Enter to accept the change.

 

--------------------------------------------------------------------

[ 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 cancels. ENTER at any time accepts your changes.]

<gVol00 quiet console=tty0 console=ttyS1,9600 nmi_watchdog=1 single

----------------------------------------------------------------------

NOTE: If you are planning to use a monitor connected to the video port for password recovery, delete 'console=ttyS1,9600'.

 

6. Press Enter to accept the change.

-----------------------------------------------------------------

GNU GRUB version 0.95 (632K lower / 2096000K upper memory)

-----------------------------------------------------------------  root (hd0,0)

kernel /vmlinuz-2.6.9-34.ELsmp ro root=/dev/VolGroup00/LogVol00 quiet> 
initrd /initrd-2.6.9-34.ELsmp.img  -------------------------------------------------------------------

Use the ^ and v 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.

 

7. Press 'b' to boot.

 

Booting command-list

root (hd0,0)  Filesystem type is ext2fs, partition type 0x83  kernel /vmlinuz-2.6.9-34.ELsmp ro root=/dev/VolGroup00/LogVol00 quiet console=t  ty0 console=ttyS1,9600 nmi_watchdog=1 single  [Linux-bzImage, setup=0x1400, size=0x15d3f1]  initrd /initrd-2.6.9-34.ELsmp.img  [Linux-initrd @ 0x37edb000, 0x114287 bytes]

PCI: Unable to handle 64-bit address space for  Red Hat nash version 4.2.1.6 starting  Reading all physical volumes. This may take a while...  Found volume group "VolGroup00" using metadata type lvm2  2 logical volume(s) in volume group "VolGroup00" now active  INIT: version 2.85 booting

Welcome to Red Hat Enterprise Linux ES  Press 'I' to enter interactive startup.

Starting udev: [ OK ]  Initializing hardware... storage network audio done[ OK ]  Configuring kernel parameters: [ OK ]  Setting clock (localtime): Thu Jan 17 12:59:35 PST 2008 [ OK ]  Setting hostname mms100: [ OK ]  Checking root filesystem  [/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a /dev/VolGroup00/LogVol00  /dev/VolGroup00/LogVol00: clean, 43498/23740416 files, 1336829/47456256 blocks  [ OK ]  Remounting root filesystem in read-write mode: [ OK ]  No Software RAID disks  Setting up Logical Volume Management: [ OK ]  Checking filesystems  Checking all file systems.  [/sbin/fsck.ext3 (1) -- /boot] fsck.ext3 -a /dev/sda1  /boot: clean, 39/26104 files, 15875/104388 blocks  [ OK ]  Mounting local filesystems: [ OK ]  Enabling local filesystem quotas: [ OK ]  Enabling swap space: [ OK ]

 

8. After system boots up in single mode, use the 'passwd' command to reset root password.

 

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

 

9. Reboot to bring the system back. After the reboot, the root password is what was set in step 6.

 

sh-3.00# reboot

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Related Entries and Links

No Related Resource entered.