Computing.Net > Forums > Solaris > Reset Password from Solaris Inst. Disk

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Reset Password from Solaris Inst. Disk

Reply to Message Icon

Name: TSD
Date: January 27, 2002 at 01:27:22 Pacific
Comment:

I currently came across a Solaris System which was donated by a local company and I have managed to recover a Solaris Installation Disk. Is there anyway I can reset the password or re install the programs so I can access the system.



Sponsored Link
Ads by Google

Response Number 1
Name: Paul
Date: February 19, 2002 at 08:20:13 Pacific
Reply:

TRY THIS.

Insert a Solaris software installation CD

As the box is coming up ( to reboot '/usr/sbin/shutdown -y -g0 -i6')

When the text "Rebooting with command ...... " appears on the screen Press
the 'Stop' and 'a' keys to go to the OK prompt.

type in 'boot cdrom -s' this boots from the CD in single user mode

When the prompt appears
type in 'fsck /dev/rdsk/c0t3d0s0' or whereever the root partition resides.
( To find out the cntndnsn look in /dev/dsk or do 'format' )

mount /dev/dsk/c0t3d0s0 /mnt
ksh
export TERM=sun
vi /mnt/etc/shadow

Originally the root entry in this file will look like eg:
root:obb.IuigJKYaE:10895::::::

Delete the encryted password so its looks like eg: ( or put in the encryted
part of another password that know )

root::10895::::::

Then /usr/sbin/shutdown -y -g0 -i6

When the machine comes up type in the username 'root' and press Enter
( NO PASSWORD IS REQUIRED )

When back on the box reset root's password



0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: Reset Password from Solaris Inst. Disk

rcp from Solaris 8 to PC www.computing.net/answers/solaris/rcp-from-solaris-8-to-pc-/2902.html

Print from Solaris to HP non PS www.computing.net/answers/solaris/print-from-solaris-to-hp-non-ps/3089.html

forgot the root password in solaris www.computing.net/answers/solaris/forgot-the-root-password-in-solaris/3345.html