[Ilugc] How to recover root Password in Solaris

Muthu tamillinux at gmail.com
Mon Aug 13 11:27:14 IST 2007


On 8/11/07, vivek khurana <mailing.vivek at gmail.com> wrote:
>
> Hi,
>
> On 8/8/07, Deepak Dikshit <dd_midas at yahoo.com> wrote:
> > Dear All,
> > I want to recover the root password of one of my Solaris server(I think,
> any linux mechanism will work here too). Last used password is either
> changed accidently or expired.
> > Any kind of help or pointer will be highly appreciated.
>
> No gaurantee but you can try this.
> 1) Boot solaris installed machine with linux live cd.
> 2) Mount the root filesystem.
> 3) edit /etc/passwd and set root passwd to blank
> 4) boot into solaris, press enter when prompted for root password
> 5) if login happens, immediately change root password
>
> WARNING: This mechanism has worked on linux but not gauranteed to work
> on Solaris. Tyr it on your own risk. This method might cause root to
> be locked out for ever.
>

If your system is sparc based ans Solaris Installation CD/DVD is available
with you then you can follow these steps to reset root password

http://www.softpanorama.org/Solaris/Security/solaris_root_password_recovery.shtml


More information about the ilugc mailing list