[SunHELP] su to root does not force password prompt

Les sunhelp at sunhelp.org
Wed Mar 14 09:05:13 CST 2001


Mirrored root
Excellent point, I better file that away for future reference
to save my remaining hair.

Les
----- Original Message ----- 
From: "Nicholas Pesce" <ewunipe at sd.us.am.ericsson.se>
To: <sunhelp at sunhelp.org>
Sent: Tuesday, March 13, 2001 3:04 PM
Subject: Re: [SunHELP] su to root does not force password prompt


> The only addendum I have to this, as mirroring is more common. Make
> sure that the root filesystem is not mirrored.  If it is mirrored.  Do
> what Les explained, but on both sides of the mirror.  (I
> managed to waste an hour aggrivating myself before I figured this little
> problem out [I didn't realize the system was mirrored]).
> 
> On Tue, 13 Mar 2001, Les wrote:
> 
> > Don't know if this works the same in earlier versions
> > of Solaris
> > Assuming you're using SOL 5.6 or later and IIRC
> > If you have truly lost access to root and can get to the 
> > firmware ok prompt (and have a cdrom drive)
> >    boot cdrom -s
> > when you have access to cdrom O/S
> >    /etc/mount /dev/c0t0d0s0 /mnt 
> > (assuming that that is your boot drive)
> >   cd /mnt/etc
> >   vi ./shadow
> > You may have to give full path if vi not found.
> > remove the root shadow passwd
> >  cd
> >  reboot
> > and I'm pretty sure that the
> > system will come up without a root passwd.
> > If asked for a password, pressing Enter
> > should suffice.
> > 
> > 
> > Les
> > ----- Original Message ----- 
> > From: "Rainer Feil" <r_feil at yahoo.com>
> > To: <sunhelp at sunhelp.org>
> > Sent: Tuesday, March 13, 2001 9:55 AM
> > Subject: [SunHELP] su to root does not force password prompt
> > 
> > 
> > > .. in this case where the password is expired.
> > > It just says "Sorry".
> > > I tried that on Solaris 7.
> > > What do I need to do to get the password prompt to be
> > > able to change the root password in case it is expired
> > > ?
> > > 
> > > Thanks,
> > > Rainer (r_feil at yahoo.com)
> > > 
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Yahoo! Auctions - Buy the things you want at great prices.
> > > http://auctions.yahoo.com/
> > > _______________________________________________
> > > SunHELP maillist  -  SunHELP at sunhelp.org
> > > http://www.sunhelp.org/mailman/listinfo/sunhelp
> > > 
> > 
> > _______________________________________________
> > SunHELP maillist  -  SunHELP at sunhelp.org
> > http://www.sunhelp.org/mailman/listinfo/sunhelp
> > 
> 
> -----------------------
> Nicholas Pesce         |
> System Administrator   |
> Ericsson Wireless Unit |
> Ph# 858-332-6140       |
> -----------------------
> 
> 
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
> 




More information about the SunHELP mailing list