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 can you search for commands at the boot prompt if you only know part of the command?
What are the packages for DNS?
How can you create domains?
Explain RAID0, RAID1, RAID3,
What are the daemons in nis server.
How can we take the failback in Veritas Cluster Server.
How to create swap file
Procedure for Firmware upgrade
in solaris performance tuning what fields we check with IOSTAT, VMSTAT and NETSTAT?
attributes of FS
what is the difference between init runlevel and milestone?
How to start / stop the nfs server