home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / sun / admin / 7979 < prev    next >
Encoding:
Internet Message Format  |  1992-11-04  |  2.1 KB

  1. 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
  2. From: bigmac@erg.sri.com (Bryan McDonald)
  3. Newsgroups: comp.sys.sun.admin
  4. Subject: Re: Help! Don't know root password
  5. Message-ID: <1992Nov5.021144.7813@erg.sri.com>
  6. Date: 5 Nov 92 02:11:44 GMT
  7. References: <28uBTB3w165w@bluemoon.rn.com> <1992Nov1.010242.2418@theweav.cts.com>
  8. Sender: news@erg.sri.com
  9. Organization: CHAOS - SRI International, Menlo Park, CA, USA
  10. Lines: 26
  11.  
  12. In article <1992Nov1.010242.2418@theweav.cts.com> rickf@theweav.cts.com (Rick Flower) writes:
  13. >rogerg@bluemoon.rn.com (Roger Grywalski) writes:
  14. >: I have just received a SUN 3/260 as a gift.  It is running SUNOS 3.5.  I
  15. >: was not given any information regarding the root password, and have no
  16. >: way of finding it out.  What are my options?  I do not have any boot tapes
  17. >: so reloading the OS is not an easy solution.  Any help you could give
  18. >: would be greatly appreciated.
  19. >
  20. >Well, that's an easy one!  Just go into the monitor of the machine and type
  21. >"B" for boot and then a "-s" which SHOULD reboot the system into single
  22. >user mode.  At that point, you should get a "#".  Then, all you need to do
  23. >is to edit the /etc/passwd file and remove the password entry from root
  24. >which should look similar to the following:
  25.  
  26. Umm...yes, this will work, but leaves you vulnerable to outside intrusion
  27. since anyone can log in as root.  If your console is secure and you get
  28. a shell instead of a passwd request after booting single user, rather then
  29. remove the password, just go ahead an replace it with the passwd command.
  30.  
  31. Failing that, you can always move the disk to another machine and diddle it there...
  32.  
  33. --------------------------------------------------------------------------------
  34. Bryan McDonald                   |   Computer, Hardware, And Operations Support
  35. bigmac@erg.sri.com               |                     CHAOS
  36. Postmaster-Systems Administrator |            ITAD - SRI International
  37. --------------------------------------------------------------------------------
  38.