How will you rectify the root passwd in solaris
Answer / sbrahman75
Boot through cdrom 1/3 cd in single user mode.
Ok boot cdrom-s
# mount –F ufs /dev/rdsk/c0t0d0s6 /mnt
# cd mnt
#set TERM=vt100
#export TERM --> If you dont give, vi editor won't start
properly
# vi /etc/shadow (remove the passwd entry and save the file)
# umount /mnt
# reboot ( While system come up it will ask the new root
passwd.)
Is This Answer Correct ? | 3 Yes | 1 No |
How to increase the size of the file system?
How will you ad new aliases name
how to use the command "top" in solaris 10
what is the difference between /var/adm/ and /var/sadm directory contains in solaris?
How will create a rootdg
how to hide file
How will you grow a disk space whitout disturbs
Were the vcs logs will be
Hi We have upgraded our sun machine from solaris 9 to solaris 10. Before upgradation the date command output(Solaris 9) Wed Oct 13 09:45:21 IST 2010 But after upgradation the output for date is as below(solaris 10). Wednesday, October 13, 2010 9:46:14 AM IST Looks like I need to change LC_TIME=C. can you please help me how to change it for permanently
What is difference between g G while creating useradd?
How will see the version of the patches
How will you rectify the root passwd in solaris