Connectivity Guide

Table Of Contents
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 usermod -s /bin/bash linuxadmin at the system prompt to enable linuxadmin user.
root@OS10: /# usermod -s /bin/bash linuxadmin
8. Verify linuxadmin user's password status and unlock, if locked (indicated by L, in the second column of passwd -S).
root@OS10:~# passwd -S linuxadmin
linuxadmin L 10/01/2018 0 99999 7 -1
root@OS10:~# passwd -u linuxadmin
passwd: password expiry information changed.
9. Enter linuxadmin for the username at the system prompt.
root@OS10: /# linuxadmin
10. 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
11. Enter the sync command to save the new password.
root@OS10: /# sync
Troubleshoot OS10
1117