Header Ads

Header ADS

[IT Tips] - Reset or recover forgotten Admin Password for Exinda

I have misplaced/forgotten my password to gain access to the Exinda device. Is there a way to recover a lost or forgotten password?

If the administrator of a system running firmware v5++ forgets the password of the user 'admin', the following method can be used to reset the password to the default password.

Default admin credentials are:
username: admin
password: exinda

The basic procedure is to boot the system to single user and execute a script to reset the 'admin' password in the active database. If any database corruption is suspected, the script resets the system database to an initialized default one. The 'admin' password is not set in such a database. A system booted to single user mode does not require a privileged user password.

First, the system must be rebooted or power cycled. It is assumed the person following this procedure is able to access the system's console and can see the entire boot process (this is either over a serial console or the system's direct console).



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 to the very end so that above step 2 can be done as below:




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 reset to the default password. The system can now be restarted by issuing the command 'reboot' at the command prompt:

sh-3.2# reboot
 

No comments

Powered by Blogger.