This article is from a FAQ concerning SCO operating systems. While some of the information may be applicable to any OS, or any Unix or Linux OS, it may be specific to SCO Xenix, Open Desktop or Openserver.

There is lots of Linux, Mac OS X and general Unix info elsewhere on this site: Search this site is the best way to find anything.

Unix, Xenix and ODT General FAQ

How do I reset the root password if I forget it? (part 3)

(For Linux, see http://www.aplawrence.com/Linux/lostlinuxpassword.html)


Hate these ads?

This procedure will work for any variant of SCO Xenix or Unix. As above, boot from your emergency boot diskettes and



mount /dev/hd0root /mnt


to gain access to your hard drive's root filesystem. Now, run



/mnt/bin/chroot /mnt "/mnt/bin/passwd root"


(check the chroot man page for more info on how it works). As before, shut down and reboot. It has been reported that on 3.2v4.2 (and possibly others), this must be done in two steps:



/mnt/bin/chroot /mnt "/bin/su root"
passwd


If it doesn't work with the quotes, try it without.


Technorati tags:  

Comments /SCOFAQ/FAQ_scotec1root_3.html


Add your comments

ad

Enter your email address for automatic notification of new posts here
(be sure to whitelist 'feedburner.com' if you use spam filtering)

Or use any RSS reader

Delivered by FeedBurner


Change Congress

Views for this page
Today This Week This Month This Year  Overall
53443412 2,235

/SCOFAQ/FAQ_scotec1root_3.html copyright 1997-2003 (various) All Rights Reserved

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

More:
       - FAQ




Unix/Linux Consultants


http://www.davrom.com SCO, SnapGear and RedHat Consulting,E-mail and Internet


larryi@ccamedical.com SCO OS5, Debian Linux, RedHat Linux, MySQL, Apache, AJAX development using dXport/dL4/Unibasic, Windows Connectivity, Sharing Resouces, Automation, Shell Scripting


http://bcstechnology.net Full service Linux & UNIX systems integrator; Windows to UNIX/Linux Client-Server Specialist; Secure E-Mail & Website Hosting; Thoroughbred Software Developer; Custom Industrial Automation; Hardware & Electronics Experts; In Business Since 1985.


Twitter
  • May 9 07:16
    It's cold again. Dammit Summer, stop teasing me!
  • May 8 21:36
    Won $28.15 at poker tonight..









Change Congress

Related Posts