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 |
Which file to be configuring the logs messages (like: /var/adm/message etc…)
How to boot the solaris system in 64 0r 32 bit kernel
If super block corrupted how to recover
How to Switch service group between nodes
Syntex to execute a ufsdump
What does pkgadd command do?
how to recover a server/system backup?
What are the Patch Management Issues you have faced and how did you resolve them?
How to do the disk cloning on solaris
After creating swap file update the same to /etc/vfstab what will be the fstype.
can you explain about the vxencap command in veritas volume manager?
What are thing you must ensure to provide security the system