Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to reset root password if root password is gone?

Answer Posted / kishore devkate

Boot the server from cdrom steps below.
at the Ok Promt
1) Ok>boot cdrom -s :to boot in the single user mode

you will get #(has) prompt
#

2) mount the root file system on /a directory
i,e
#mount /dev/dsk/c0t0d0s0 /a

3) remove the encrypted passwd from the /a/etc/shadow file
then save the file
i,e
#vi /a/etc/shadow
remove the root user encrypted passwd
:wq!

4) reboot the server
i,e

#init 6

Is This Answer Correct ?    23 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What causes the rpc.ttdbserverd process to be cpu bound?

1068


What can be done to protect the system from overflow exploits?

1037


How can a user login to solaris? What is the login shell?

1022


What are the raid levels in solaris?

1141


how to add Kernel patch in all systems at a time?

3046


What can be a reason for the solaris system slowing down?

941


How to view shared memory statistics?

929


Tell me how to set the path for core file?

973


Explain the difference between pid and ppid with example.

1079


How do you break the root password?

975


Explain the difference between swap -l & swap -s?

1044


What is the login shell?

1233


How to solve the system hang issue. Found that the memory state is free, commands to check and solve the issue?

1022


Suppose I have 20 gb free space in my file system but my inode size full. How will I increase or how will I fix this issue?

991


Explain the run levels that are used in solaris10?

937