Go Back   The UNIX and Linux Forums > Operating Systems > Solaris
.
google site



Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Closed Thread
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-14-2008
Registered User
 

Join Date: Sep 2008
Posts: 26
How to recover root password

How to recover root password in solaris, I forgot root password.

thanks in advance
Sponsored Links
  #2 (permalink)  
Old 10-14-2008
Registered User
 

Join Date: May 2008
Location: Vienna, VA + Bombay, India
Posts: 109
[1] boot from cdrom

ok boot cdrom -s

[2] mount root partition read/write on /a
# mount /dev/dsk/c0t0d0s0 /a

[3] set TERM
# TERM=vt100

[4] vi /a/etc/shadow

Here, delete the root passwd hash (not the whole line. just the hash)
And, save the file.

[5] Unmount root partition
# umount /a

[6] reboot from root disk to single-user mode. safety first
# reboot -- -s

[7] Hit <enter> when prompted for root password

[8] Once you get a shell, set root password
# passwd

[9] Reboot to go back to your default run-level/milestone

Last edited by frozentin; 10-14-2008 at 02:55 AM..
  #3 (permalink)  
Old 10-14-2008
Registered User
 

Join Date: Sep 2008
Posts: 26
Thank you very much
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to Recover windows administrator password? jagdish.machhi@ Windows & DOS: Issues & Discussions 5 03-25-2009 03:14 AM
Root Recover Issues calamine UNIX for Dummies Questions & Answers 1 02-10-2008 11:12 AM
Recover root passwd gini Solaris 5 11-29-2006 08:09 AM
Recover root password nitinkgoud Solaris 1 07-18-2006 06:01 PM
Recover A password SmartJuniorUnix Security 3 05-27-2001 01:25 PM



All times are GMT -4. The time now is 05:20 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2010. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0