OS10 Enterprise Edition User Guide Release 10.4.1.0

PDF

Password recovery

You may need to recover a lost password.

  1. Connect to the serial console port. The serial settings are 115200 baud, 8 data bits, and no parity.
  2. Reboot or power up the system.
  3. Press ESC at the Grub prompt to view the boot menu. The OS10-A partition is selected by default.
    +-------------------------------------------+
                                              |*OS10-A                                    |
                                              | OS10-B                                    |
                                              | ONIE                                      |
                                              +-------------------------------------------+
                                           
  4. Press e to open the OS10 GRUB editor.
  5. Use the arrow keys to highlight the line that starts with linux. Add init=bin/bash at the end of the line.
    +-------------------------------------------------------------------------------------------+
                                              |setparams 'OS10-A'                                                                         |
                                              |                                                                                           |
                                              | set root='(hd0,gpt7)'                                                                     |
                                              | echo    'Loading OS10 ...'                                                                |
                                              | linux   (hd0,gpt7)/boot/os10.linux console=ttyS0,115200 root=/dev/sda7 \rw init=/bin/bash |
                                              | initrd  (hd0,gpt7)/boot/os10.initrd                                                       |
                                              +-------------------------------------------------------------------------------------------+
                                           
  6. Press Ctrl + x to reboot your system. If Ctrl + x does not cause the system to reboot, press Alt + 0. The system boots up to a root shell without a password.
  7. Enter linuxadmin for the username at the system prompt.
    root@OS10: /# linuxadmin
  8. Enter your password at the system prompt, then enter the new password twice.
    root@OS10: /# passwd linuxadmin
                                              Enter new UNIX password: xxxxxxxxx
                                              Retype new UNIX password: xxxxxxxxxx
                                              passwd: password updated successfully
                                           
  9. Enter the sync command to save the new password.
    root@OS10: /# sync
  10. Reboot the system, then enter your new password.
    root@OS10:~# reboot -f
                                              Rebooting.
                                              [ 3466.946967] reboot: Restarting system
                                              
                                              
                                              
                                              BIOS Boot Selector for S5148F
                                              Primary BIOS Version 3.36.0.1-2
                                              
                                              SMF Version: MSS 1.2.2, FPGA 0.1
                                              Last POR=0x11, Reset Cause=0x55
                                              
                                           

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\