If you have forgotten the root password for a server, how
do you get back in?
Answers were Sorted based on User's Feedback
Answer / praveen
boot cdrom -s
mount /dev/dsk/cotdos0 /a
cd /a/etc
TERM=vt100
export TERM
vi shadow
//remove passwd field after save the file
cd /
umount /a
init 6
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / jsdkar
boot net -s
mount /dev/dsk/cotdos0 /a
cd /a/etc
TERM=vt100
export TERM
vi shadow
//remove passwd field after save the file
cd /
umount /a
sync
init 6
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / manoj kumar
go to ok prompt from there
boot cdrom -s
#mount /dev/dsk/c0t0d0s0 /a
#cd /a
#cd
#vi /etc/shadow
remove the second field which is in encryption form, and
save the file
#umount /a
#boot s
when it boots for single user mode then change the root
password using command
#passwd root
now reboot the system in multiuser mode
| Is This Answer Correct ? | 2 Yes | 0 No |
How to check the no of the processor available
Disaster recovery steps if OS corrupted
How to find the hardware configuration
How will see the hostname
How to bring the Disk into diskgroup on veritas.
solaris kernel name
What is WWN on storage
What are the packages for DNS?
In which file port No’s are defined
how to find out the how many disks attached in the server?
How to add a tape deck on Sun Solaris version 10
What is the difference between the VERITAS 3.0 and VERITAS 4.0?