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
How to view shared memory statistics?
How do you copy files from remote system using ftp?
How do you break the root password?
In solaris 10 root Disk is 98% full what steps to be taken?
What do you understand by mail aliases?
How to login to a remote host with solaris secure shell?
Explain custom jumpstart procedure?
What can be a reason for the solaris system slowing down? How can it be rectified?
How can the user in solaris check the status of processes?
How can threads be created in a solaris environment?
Explain the difference between pid and ppid with example.
How can a user login to solaris? What is the login shell?
What can be done to protect the system from overflow exploits?
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?
Explain how to view shared memory statistics?