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 multihomed system?
What kind of issues you get?
command used to synchronize changes done in /etc/passwd to /etc/shadow file?
How to bring New LUN under veritas , create f/s on it ?
what is coredump & crashdump.what's the difference between these two.
2 Answers Abasca Resources, Ashtech, Cognizant, HP,
They have user like aa with home dir /export/home/aa. They want to change home dir to /export/home/bb & username remains same. User files in /export/home/aa moved to bb? What do u do?
How can the user in solaris check the status of processes?
How can searches be refined?
what are all the procedures i have to follow while patching a machine which has root mirroring ( SVM ).
how many zones can be installed in server which has 4 processors?
How can a user increase the number of pseudo-ttys?
How to see the route?