Thread View: comp.sys.sgi.admin
3 messages
3 total messages
Started by Jim_Blue_x3809
Tue, 22 Dec 1992 13:41
Forgotten root password
Author: Jim_Blue_x3809
Date: Tue, 22 Dec 1992 13:41
Date: Tue, 22 Dec 1992 13:41
2 lines
467 bytes
467 bytes
On my 4D25, 4.0.5, how do I recover if I forget the root password? Is recovery different on the Indigo that I am ordering to replace it?
Re: Forgotten root password
Author: Martin Knoblauch
Date: Tue, 22 Dec 1992 15:34
Date: Tue, 22 Dec 1992 15:34
51 lines
2664 bytes
2664 bytes
In article <9949@fs3.cam.nist.gov>, blue@cam.nist.gov (Jim_Blue_x3809) writes: |> On my 4D25, 4.0.5, how do I recover if I forget the root password? |> Is recovery different on the Indigo that I am ordering to replace |> it? My favourite solution (in case you can log in into a non- root account): a) cp /etc/passwd /tmp/passwd b) remove root passwd from /tmp/passwd using your favourite editor c) bring system into single user mode. You might have to reset the system for that. In the PROM monitor "setenv initstate s" and "auto" boot. d) In single user mode, copy /tmp/passwd into /etc/passwd. Bring system into multi user state and set a new root password. e) Don't forget the new password. If the procedure does not work, because you have no open/known account, you have to reset the system, bring it into single user and try to generate a password file with a open root account. You can try to do: cat >>/etc/passwd root1::0:0:Super-User:/:/bin/csh ^D then go multiuser, log in as root1, set a new password for root, remove root1 for security reasons and continue with e) from above. Do a few sync's before you reset the system in order to minimize the risk of disc corruption during that procedure. On an Indigo the procedure is identical. The only problem is that you can set and forget a ROOT password also. If you forget both passwords, things get messy and you should contact your support office to avoid destroying your hardware and warranty. Hope this helps Martin -- +---------------------------------+----------------------------------+ |Martin Knoblauch | Silicon Graphics GmbH | |Application Support | Am Hochacker 3 - Technopark | |Silicon Graphics Computer Systems| W-8011 Grasbrunn-Neukeferloh, FRG| | | Phone: (+int) 89 46108-179 or -0 | | | Fax: (+int) 89 46108-222 | +---------------------------------+----------------------------------+ |Network: <knobi@sgi.com> | V-Mail: 8935 | M/S: IMU-315 | +--------------------------------------------------------------------+
Re: Forgotten root password
Author: Martin Knoblauch
Date: Tue, 22 Dec 1992 17:05
Date: Tue, 22 Dec 1992 17:05
78 lines
3673 bytes
3673 bytes
In article <1h7chsINNapi@fido.asd.sgi.com>, knobi@knobi.munich.sgi.com
(Martin Knoblauch) writes:
|> In article <9949@fs3.cam.nist.gov>, blue@cam.nist.gov
|> (Jim_Blue_x3809)
|> writes:
|> |> On my 4D25, 4.0.5, how do I recover if I forget the root
|> password?
|> |> Is recovery different on the Indigo that I am ordering to replace
|> |> it?
|>
|> My favourite solution (in case you can log in into a non-
|> root account):
|>
|> a) cp /etc/passwd /tmp/passwd
|> b) remove root passwd from /tmp/passwd using your
|> favourite editor
|> c) bring system into single user mode. You might have to reset
|> the system for that. In the PROM monitor "setenv initstate s"
|> and "auto" boot.
|> d) In single user mode, copy /tmp/passwd into /etc/passwd. Bring
|> system into multi user state and set a new root password.
|> e) Don't forget the new password.
|>
|> If the procedure does not work, because you have no open/known
|> account, you have to reset the system, bring it into single user
|> and try to generate a password file with a open root account. You
|> can try to do:
|>
|> cat >>/etc/passwd
|> root1::0:0:Super-User:/:/bin/csh
|> ^D
|>
|> then go multiuser, log in as root1, set a new password for root,
|> remove root1 for security reasons and continue with e) from above.
|> Do a few sync's before you reset the system in order to minimize
|> the risk of disc corruption during that procedure.
|>
|> On an Indigo the procedure is identical. The only problem is that
|> you can set and forget a ROOT password also. If you forget both
^^^^
I wanted to say PROM. Sorry.
|> passwords, things get messy and you should contact your support
|> office to avoid destroying your hardware and warranty.
|>
|>
|> Hope this helps
|> Martin
|> --
|>
+---------------------------------+----------------------------------+
|> |Martin Knoblauch | Silicon Graphics GmbH
|> |
|> |Application Support | Am Hochacker 3 - Technopark
|> |
|> |Silicon Graphics Computer Systems| W-8011 Grasbrunn-Neukeferloh,
|> FRG|
|> | | Phone: (+int) 89 46108-179 or -0
|> |
|> | | Fax: (+int) 89 46108-222
|> |
|>
+---------------------------------+----------------------------------+
|> |Network: <knobi@sgi.com> | V-Mail: 8935 | M/S: IMU-315
|> |
|>
+--------------------------------------------------------------------+
--
+---------------------------------+----------------------------------+
|Martin Knoblauch | Silicon Graphics GmbH |
|Application Support | Am Hochacker 3 - Technopark |
|Silicon Graphics Computer Systems| W-8011 Grasbrunn-Neukeferloh, FRG|
| | Phone: (+int) 89 46108-179 or -0 |
| | Fax: (+int) 89 46108-222 |
+---------------------------------+----------------------------------+
|Network: <knobi@sgi.com> | V-Mail: 8935 | M/S: IMU-315 |
+--------------------------------------------------------------------+
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads