Overview
If the user has forgotten the password on their Exinda they can perform the following steps. This process will remove the password entirely from the 'admin' account.
Resolution
1. Go to single user mode
a) Reboot the Exinda establish a console connection to the device (if no console access is available, refer to the Additional Information for instructions on how to reset password with a keyboard/monitor connected to the Exinda)
b) As soon as you see the list of firmwares to boot from interrupt the boot an do the following
Step1: Press the down key when it says "Boot loading stage 2"and select the image to boot into. Once the image is selected (in this case 0) then press "e" to enter the edit command mode. This will give the user the ability to change the commands options that are part of the boot process.
Boot Menu
---------------------------------------
0: exinda-5.4.0.13350 (i386) 2010/03/31
1: exinda-5.4.0.13350 (i386) 2010/03/31
2: memtest86+ v1.70
---------------------------------------
Use the up and down keys to select which entry is highlighted.
Press enter to boot the selected image. 'e' to edit the
commands before booting. 'a' to modify the kernel arguments
before booting or 'c' for a command-line.
Highlighted entry is 0:
Step2: Now use the arrow key and select 1 (for kernel.......) and type "e" again
Boot Menu
---------------------------------------
0: root (hd0,1)
1: kernel /vmlinuz ro root=/dev/sda5 img_id=1 quiet loglevel=4 panic=10 console=tty0
console=ttyS0.9600n8
---------------------------------------
Use the up and down 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 ('0' for before) the selected line. 'd' to remove the
selected line or escape to go back to the main menu.
Highlighted entry is 1:
Step3: On the next screen after entering 'e' go to the end of the line and the text 'single' should be appended to the end of this line.
Note: The '<' indicates that a portion of the command line is not seen. The arrow keys allow the user to navigate the command line. Modify the line so that anything after the img_id=# part is the same as below:
quiet loglevel=4 panic=10 console=tty0 console=ttyS0.9600n8 single
Step4: On the next screen select option 1 (kernel.....) and type "b" to resume booting the selected image.
Boot Menu
---------------------------------------
0: root (hd0,1)
1: kernel /vmlinuz ro root=/dev/sda5 img_id=1 quiet loglevel=4 panic=10 console=tty0
console=ttyS0.9600n8 single
---------------------------------------
Use the up and down 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 ('0' for before) the selected line. 'd' to remove the
selected line or escape to go back to the main menu.
Highlighted entry is 1:
Step5: After more boot messages a 'root' user prompt should be displayed as below:
resh-3.2#
Type here: "/sbin/resetpw.sh" as below:
resh-3.2#/sbin/resetpw.sh
Step6: If successful, the 'admin' password will now be removed. The system can now be restarted by issuing the command 'reboot' at the command prompt:
sh-3.2# reboot
Now you can log into the unit using the default user name and password that is admin/exinda
Additional Information
If there is no console access available to the Exinda, this process can still be done by connecting a keyboard and monitor directly to the Exinda (if the model has such ports available).
In step 3, instead of having the full command as (where ### is the number of the boot image):
kernel /vmlinuz ro root=/dev/sda5 img_id=### quiet loglevel=4 panic=10 console=tty0 console=ttyS0,9600n8 single
Make it:
kernel /vmlinuz ro root=/dev/sda5 img_id=### single quiet
If the above commands in the Resolution Section do not work on any x62 units, attempt the following changes:
ro root=/dev/vda6 crashkernel=128M img_id=2 quiet loglevel=4 panic=10 console=tty0 console=ttyS0,9600
- Remove the 'quiet' - that tells it to log very little. If something is going wrong it is useful to see all the messages.
- Change the 'loglevel=4' to 'loglevel=7'. That changes the messages that are shown from ERR and above to INFO and above. It may show something else of use.
Internal Notes
Note that this also gives access to the shell. If it is impossible to install a shell license key (UI won't come up or anything) then you can use this to get into the shell and perform diagnostics as well.
Just do not run the 'resetpw.sh' script and reboot. The
resh-3.2#
prompt is the shell.
Priyanka Bhotika
Comments