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 is VTS
In solaris RAID half of replicas fails Suppose out of 6 replica 4 got failed -> what will be the impact if system will not come up & if system will not come up how to fix this issue.
What causes the rpc.ttdbserverd process to be cpu bound?
how to set default runlevel in solaris.How to set the default Runlevel as INIT-2.
how to create 100 users at a time in solaris?
How do you remove a swap space?
Root mirroring in SVM, in Veritas ?
4 Answers HP, IBM, Satyam, Wipro,
What are the raid levels in solaris?
How to login to a remote host with solaris secure shell?
Explain how to view shared memory statistics?
How to bring New LUN under veritas , create f/s on it ?
How does a solaris cluster work?