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?



How to reset root password if root password is gone?..

Answer / 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

More Solaris General Interview Questions

How do you connect to remote machines? I said using secure crt using ssh.

1 Answers   Satyam, Wipro,


How can the output be redirected to some other action process in place showing it in the screen?

0 Answers  


Explain the difference between pid and ppid with example.

0 Answers  


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.

2 Answers  


what is multihomed system?

2 Answers   Satyam, Wipro,


How to mount the FLOPPY & CD-ROM?

6 Answers   Zensar,


What are nis daemons?

0 Answers  


How to list qued jobs under at? atq

2 Answers   Satyam, Wipro,


How to use disk quotas in solaris (command mode) ? what is the procedure for how to allocate particular space to particular user

2 Answers   HP,


What are the last 2 columns listed with Vmstat? What is their significance?

1 Answers   Satyam, Wipro,


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

0 Answers   Wipro,


How to add gateway in solaris ?

1 Answers   Satyam, Wipro,


Categories
  • Solaris Commands Interview Questions Solaris Commands (360)
  • Solaris Threads Interview Questions Solaris Threads (9)
  • Solaris IPC Interview Questions Solaris IPC (30)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (3)
  • Solaris System Calls Interview Questions Solaris System Calls (25)
  • Solaris General Interview Questions Solaris General (170)
  • Solaris AllOther Interview Questions Solaris AllOther (297)