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

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