home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / sgi / admin / 69 < prev    next >
Encoding:
Internet Message Format  |  1992-12-22  |  2.5 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!sgi!fido!knobi.munich.sgi.com!knobi
  2. From: knobi@knobi.munich.sgi.com (Martin Knoblauch)
  3. Newsgroups: comp.sys.sgi.admin
  4. Subject: Re: Forgotten root password
  5. Date: 22 Dec 1992 15:34:20 GMT
  6. Organization: Silicon Graphics, Inc.
  7. Lines: 51
  8. Distribution: world
  9. Message-ID: <1h7chsINNapi@fido.asd.sgi.com>
  10. References: <9949@fs3.cam.nist.gov>
  11. NNTP-Posting-Host: knobi.munich.sgi.com
  12.  
  13. In article <9949@fs3.cam.nist.gov>, blue@cam.nist.gov (Jim_Blue_x3809)
  14. writes:
  15. |> On my 4D25, 4.0.5, how do I recover if I forget the root password?
  16. |> Is recovery different on the Indigo that I am ordering to replace
  17. |> it?
  18.  
  19.   My favourite solution (in case you can log in into a non-
  20. root account):
  21.  
  22. a) cp /etc/passwd /tmp/passwd
  23. b) remove root passwd from /tmp/passwd using your 
  24.    favourite editor
  25. c) bring system into single user mode. You might have to reset
  26.    the system for that. In the PROM monitor "setenv initstate s"
  27.    and "auto" boot.
  28. d) In single user mode, copy /tmp/passwd into /etc/passwd. Bring
  29.    system into multi user state and set a new root password.
  30. e) Don't forget the new password.
  31.  
  32.   If the procedure does not work, because you have no open/known
  33. account, you have to reset the system, bring it into single user
  34. and try to generate a password file with a open root account. You
  35. can try to do:
  36.  
  37. cat >>/etc/passwd
  38. root1::0:0:Super-User:/:/bin/csh
  39. ^D
  40.  
  41.   then go multiuser, log in as root1, set a new password for root,
  42. remove root1 for security reasons and continue with e) from above.
  43. Do a few sync's before you reset the system in order to minimize
  44. the risk of disc corruption during that procedure.
  45.  
  46.   On an Indigo the procedure is identical. The only problem is that
  47. you can set and forget a ROOT password also. If you forget both
  48. passwords, things get messy and you should contact your support
  49. office to avoid destroying your hardware and warranty.
  50.  
  51.  
  52.   Hope this helps
  53. Martin
  54. -- 
  55. +---------------------------------+----------------------------------+
  56. |Martin Knoblauch                 | Silicon Graphics GmbH            |
  57. |Application Support              | Am Hochacker 3 - Technopark      |
  58. |Silicon Graphics Computer Systems| W-8011 Grasbrunn-Neukeferloh, FRG|
  59. |                                 | Phone: (+int) 89 46108-179 or -0 |
  60. |                                 | Fax:   (+int) 89 46108-222       |
  61. +---------------------------------+----------------------------------+
  62. |Network: <knobi@sgi.com>         | V-Mail: 8935   | M/S: IMU-315    |
  63. +--------------------------------------------------------------------+
  64.