Dear Managers,
My Original Question was;
--------------------------------------------------------------------------
Dear Managers,
On a Solaris OS ,if the root password is forgotten,what are the options
of recovery or changing it to a new one???
Thanks in advance.
Truly,
Aravind.
--------------------------------------------------------------------------
The responses were overwhelming. Thanks to all those who responded ..and
those who are still writing their suggestions.
Collectively,the most easy way would be :
1. Find out the partition of the root . (say /dev/dsk/c0t0d0s0)
2.Use Stop -A to come to ok prompt.
Here Boot from the OS cdrom with single user mode option
boot cdrom -s
3. mount the root partition onto any mount point (say /a or /mnt)
#mount /dev/dsk/c0t0d0s0 /a
4. At the #prompt ,it is adviced to use:
#TERM=sun
#export TERM
This helps us to use the vi editor to make changes to the
/etc/shadow file.
5. # vi /a/etc/shadow
Here remove the encrypted password entry for root.
6. Just reboot the system and then assign a new password to the
root .
*********************
It proves again that this forum with all these wonderful managers,with all
their experience is the best place to turn and share if we have any
Technical doubts that needs clarifications.
Thanks once again to all the people out there who had responded.
Truly,
Aravind.
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:37 CDT