The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
OBP on Solaris 10-intel itik SUN Solaris 6 05-26-2008 05:53 AM
Solaris on Intel encrypted UNIX for Advanced & Expert Users 3 09-20-2004 10:27 AM
Solaris 8 Intel tycobb UNIX for Dummies Questions & Answers 3 08-12-2002 09:19 PM
kde on solaris 8 intel souldier UNIX for Advanced & Expert Users 9 03-12-2002 02:51 PM
Solaris 8 on Intel TCP/IP reggie316 IP Networking 2 01-24-2002 05:47 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-16-2006
eykyn17's Avatar
eykyn17 eykyn17 is offline
Registered User
  
 

Join Date: Feb 2006
Location: Phil
Posts: 38
Intel Based Solaris

Hello all mentor.

I am a new in this furom and also just self studying unix environment.
I have installed intel solaris 9 in my laptop and i have forgotten the root password nor maybe the numlock or capslock of the keyboard was enabled
during I enter the password installation process.

my question is:
1. How could I recover the root password
2. hope you can give me the steps on recovering the root password
i meant a detailed on what should i do first.

thanks,

hoping that you will accept my concern
  #2 (permalink)  
Old 02-16-2006
zazzybob's Avatar
zazzybob zazzybob is offline Forum Advisor  
Registered Geek
  
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
Insert the Solaris 10 DVD (or CD 1) and boot the system (ensure BIOS is set to boot from CD before HD).

When the installation prompt appears type
b -s

This will boot off the CD-ROM in single user mode.

Then...
Assuming that your root slice is /dev/dsk/c0d0s0

Mount
mount /dev/dsk/c0d0s0 /mnt

Then edit the shadow file
vi /mnt/etc/shadow

Remove the root password from this file
i.e. change
root:blahblahblah:whatever::::::
to
root::whatever::::::
and save the file.

Unmount
umount /mnt

Reboot
shutdown -y -g0 -i6

Remember to remove the DVD/CD as the system reboots

Once the system comes up, you'll be able to log in as root with no password, and enter a new password with the passwd command.

EDIT: Just noticed the OP is using Solaris 9, not 10. Same procedure applies....

Cheers
ZB

Last edited by zazzybob; 02-16-2006 at 01:40 AM..
  #3 (permalink)  
Old 02-16-2006
eykyn17's Avatar
eykyn17 eykyn17 is offline
Registered User
  
 

Join Date: Feb 2006
Location: Phil
Posts: 38
Thumbs up

Many many thanks ZB.. I will keep u posted
  #4 (permalink)  
Old 02-20-2006
eykyn17's Avatar
eykyn17 eykyn17 is offline
Registered User
  
 

Join Date: Feb 2006
Location: Phil
Posts: 38
i have successfully cleared the root password

thanks
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 On




All times are GMT -4. The time now is 02:59 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-2009. All Rights Reserved.

Content Relevant URLs by vBSEO 3.2.0