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 |
They have user like aa with home dir /export/home/aa. They want to change home dir to /export/home/bb & username remains same. User files in /export/home/aa moved to bb? What do u do?
How can a user access a dos-format disk in solaris?
How do you delete tmp files if file system is full becoz of /tmp dir ?
Port no for telnet (23) , ssh(22)?
How can a user increase the number of pseudo-ttys? what is their use?
how to know which version of solaris is installed? uname –a /etc/release
What does ssh?
How to view shared memory statistics?
What kind of issues you get?
format command is not working. It is showing all disks, but not going to further step. How to resolve that?
In solaris 10 root Disk is 98% full what steps to be taken?
Difference between resource pool and project in containers