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 are the run levels that are used in solaris10?
How to configure Veritas Kernel? Daemons in Veritas VM?
Process between Kernel and Shell when a command is executed?
If / (root) file system is full,How to increase root file system under Solaris volume manager (SVM)?
What are nfs daemons?
How to mount the FLOPPY & CD-ROM?
what are bootloaders in solaris booting? bootblk, ufsboot
what is the difference between svm and vxvm
4 Answers Infosys, Tech Mahindra, VxVM,
what is the main usage of maintaining the system logs in solaris
how can we know the time of creation of zone in solaris
Port no for telnet (23) , ssh(22)?
environment? Is it heterogeneous (mix of linux, solaris,other UNIX)?