Reset sysadmin and root passwords on SCSx05 and SCSx20 products

How do I reset the sysadmin and/or root passwords on SCSx05 and SCSx20 products?


Note: Firmware versions older than 4.x do not display the LILO prompt at boot time. This procedure only works with SCSx20s running 4.0 or higher.

  • Put a terminal on the console port and cycle the power on the SCSx05 or SCSx20
  • At the LILO prompt type a question mark (?) then "linux single". This will cause the SCSx05 to boot in single user mode:
Lantronix SecureConsoleServer LILO boot manager
Press '?' for options
Press 'Enter' to boot the default image
To enter single-user mode, press ?, then enter 'linux single'
boot:
linux old memtest mtest
boot: linux single
  • Use the Linux 'passwd' command to set the root and sysadmin passwords to something you know:
bash# passwd
New UNIX password:
BAD PASSWORD: it is too short
Retype new UNIX password:
PAM_pwdb[238]: password for (root/0) changed by ((null)/0)
passwd: all authentication tokens updated successfully
bash# passwd sysadmin
Changing password for user sysadmin
New UNIX password:
BAD PASSWORD: it is too short
Retype new UNIX password:
PAM_pwdb[239]: password for (sysadmin/500) changed by ((null)/0)
passwd: all authentication tokens updated successfully
  • In this case the default passwords of "root" for root and "PASS" for sysadmin were used. That's why Linux complained about too-short passwords. It accepted them anyway.
  • Reboot:
bash# reboot -n



[Originally Published On: 02/22/2005 08:56 AM]