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 |
What kind of issues you get?
What are the comman user problems?
How can the user in solaris check the status of processes?
how would we know a file system exists on a slice when it is unmounted from its mount point. please anyone help me out.
Explain the difference between sc> and lom>?
Troubleshooting SMF?
how to check network card speed ? set it mode(half/full duplex)? ndd -get /dev/hme0 link-speed ndd -get /dev/hme0 link-mode
Tell me how to mount the floppy & cd-rom?
How to mount the FLOPPY & CD-ROM?
How can threads be created in a solaris environment?
What is the login shell?
How can a user access a dos-format disk in solaris?