-
Notifications
You must be signed in to change notification settings - Fork 35
Password recovery
You may need to recover a lost password.
1. Connect to the serial console port and verify that the serials settings are 115200 baud, 8 data bits, no parity.
2. Reboot or power up the system, the press ESC at the GNU GRUB prompt to view the menu.
+----------------------------------------------------------------------------+
|*OPX-A |
| OPX-B |
| ONIE |
+----------------------------------------------------------------------------+
3. Press e
to open the OPX GRUB editor.
4. Use the arrow keys to highlight the line that starts with linux
. At the end of the line, add init=/bin/bash
.
+----------------------------------------------------------------------------+
|setparams 'OPX-A' |
| |
| set root='(hd0,gpt7)' |
| echo 'Loading OPX-Base ...' |
| linux (hd0,gpt7)/boot/opx.linux console=ttyS0,115200 root=/dev/sda7 \ |
|rw init=/bin/bash |
| initrd (hd0,gpt7)/boot/opx.initrd |
+----------------------------------------------------------------------------+
5. Press Ctrl+x
to reboot the system to a password-less root shell.
6. Enter the root password and username.
root@OPX:/# passwd admin
7. Enter a new password to change the default admin
password.
root@OPX:/# passwd admin
Enter new UNIX password: xxxxxxxxx
Retype new UNIX password: xxxxxxxxxx
passwd: password updated successfully
8. Reboot the system to load OPX, then enter the new password.
root@OPX:/# reboot -f
Rebooting.[ 822.327073] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 822.340656] reboot: Restarting system
[ 822.344339] reboot: machine restart
BIOS (Dell Inc) Boot Selector
S6000-ON 3.20.0.0 (32-port TE/FG)
© 2019 OpenSwitch project. All information is contributed to and made available by OPX under the Creative Commons Attribution 4.0 International License (available at http://creativecommons.org/licenses/by/4.0/).
- Home
- System overview
- Software releases
- Hardware support
- FAQs
- Install
- Build
- Configure
- Develop
- Administer
- Troubleshoot
- Software compatibility
- Contribute
- DevOps
- Join