Forgot root password on SCO Openserver 5.0.x ============================================ Release SCO Openserver Enterprise System Release 5.0.x SCO Openserver Desktop System Release 5.0.x SCO Openserver Host System Release 5.0.x Problem The root password is not known. Solution 1. Locate your Openserver Boot Diskette and installation media. 2. Reboot the system with the Openserver Boot Diskette in the floppy drive. 3. Type "tools" at the "Boot:" prompt 4. The kernel will load (this may take a few minutes). Eventually the system will display: Starting Initial System Load From: Floppy Disk Reading from Install Source: ## KB The "Restricted Rights" screen will appear. Press to continue. 5. At the next screen, verify that the installation media is correct. Make any necessary changes to the media selection and press to continue. 6. You may be told to reboot to allow your installation device to work. If so, you will be prompted to reset the device by typing the following at the "Boot:" prompt: defbootstr Instead of typing "defbootstr" type "tools". For example: tools Srom=alad(0,0,5,0) The proper syntax for bootstrings on Openserver Release 5.0.x is detailed in technical article . After rebooting, follow steps 4 and 5 again. 7. Insert the installation media when prompted. The system will verify the installation media and begin to extract the files from the media. The bottom of the screen will read: Reading form the Install Source: ## KB 8. After a few utilities are extracted, the system will display the following menu: 1. Execute a shell on ramdisk filesystem 2. Shutdown the system 3. Run IQM to Start Initial System Load Choose item "1" An installation prompt will be displayed. 9. Clean and mount the hard drive root filesystem. Note the command is different for fresh and upgrade installs. Fresh: fsck /dev/hd0root mount /dev/hd0root /mnt Upgrade: fsck /dev/boot mount /dev/boot /mnt 10. Reset the root password with the following command: /etc/chroot /mnt /bin/su root -c passwd 11. After resetting the password, type exit to exit the installation shell. The menu from step 8 will be redisplayed. Choose item "2" to shut down. At the "Safe to Power Off" message, remove the Boot floopy and press any key to reboot off the hard drive.