Designing Planning Before You Begin
To recover your password, perform the following steps:
-
Insert the boot disk.
-
Insert the CD into the CD-ROM and power off the sensor.
-
After ten seconds, power on the sensor. The sensor will boot
from the boot disk and display the Configuration Assistant screen.
-
Press F3 to scan the system for boot
devices. A list of boot devices is displayed.
-
Select the CD-ROM drive and put an X next to it using the Spacebar.
-
Press F2 to continue. The sensor boots
from the CD-ROM.
-
A display for selecting the install type appears. Select Option 2, Jumpstart.
-
When prompted, choose Option 0 for English
language.
-
The next screen is an additional prompt for English ANSI.
Choose Option 0.
-
The sensor boots and the Solaris Installation screen
appears.
-
Press Ctrl + C to stop the installation
script and be dropped to a prompt.
-
Type mount -F ufs /dev/dsk/c0t0d0s0
/mnt.
-
The "/" partition is now mounted at the "/mnt" mount point.
At this time, the "/etc/shadow" file can be edited to remove the root password.
Type cd /mnt/etc.
-
In order to read the data correctly, set the shell
environment by Typing TERM=ansi.
-
Type export TERM.
-
To edit the shadow file, type vi
shadow.
-
The line to edit is root:gNyrpgZhdfxPQ:9078::::::
-
The encrypted password is the second field separated by
":".
-
Delete that second field by moving the cursor to the
beginning of the encrypted password and use the "x" to delete each character.
The finished record should look like this: root:: 9078::::::.
-
Type :wq! to write the
file and quit the editor.
-
Remove the disk and CD-ROM from the drives.
-
To reboot, type init 6.
-
At the login screen, login as root. When prompted for a
password, press Enter. You are logged in to the sensor as
root. Set a new password
105 times read
|
|
|
Did you enjoy this article?
(total 0 votes)
|