home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!spool.mu.edu!uwm.edu!cs.utexas.edu!sun-barr!ames!purdue!mentor.cc.purdue.edu!noose.ecn.purdue.edu!sparkyfs.erg.sri.com!bigmac
- From: bigmac@erg.sri.com (Bryan McDonald)
- Newsgroups: comp.sys.sun.admin
- Subject: Re: Help! Don't know root password
- Message-ID: <1992Nov5.021144.7813@erg.sri.com>
- Date: 5 Nov 92 02:11:44 GMT
- References: <28uBTB3w165w@bluemoon.rn.com> <1992Nov1.010242.2418@theweav.cts.com>
- Sender: news@erg.sri.com
- Organization: CHAOS - SRI International, Menlo Park, CA, USA
- Lines: 26
-
- In article <1992Nov1.010242.2418@theweav.cts.com> rickf@theweav.cts.com (Rick Flower) writes:
- >rogerg@bluemoon.rn.com (Roger Grywalski) writes:
- >: I have just received a SUN 3/260 as a gift. It is running SUNOS 3.5. I
- >: was not given any information regarding the root password, and have no
- >: way of finding it out. What are my options? I do not have any boot tapes
- >: so reloading the OS is not an easy solution. Any help you could give
- >: would be greatly appreciated.
- >
- >Well, that's an easy one! Just go into the monitor of the machine and type
- >"B" for boot and then a "-s" which SHOULD reboot the system into single
- >user mode. At that point, you should get a "#". Then, all you need to do
- >is to edit the /etc/passwd file and remove the password entry from root
- >which should look similar to the following:
-
- Umm...yes, this will work, but leaves you vulnerable to outside intrusion
- since anyone can log in as root. If your console is secure and you get
- a shell instead of a passwd request after booting single user, rather then
- remove the password, just go ahead an replace it with the passwd command.
-
- Failing that, you can always move the disk to another machine and diddle it there...
-
- --------------------------------------------------------------------------------
- Bryan McDonald | Computer, Hardware, And Operations Support
- bigmac@erg.sri.com | CHAOS
- Postmaster-Systems Administrator | ITAD - SRI International
- --------------------------------------------------------------------------------
-