[SunHELP] can't login to solaris (fatal)
Paul Röttgerding AOD
pr at aod-fm.de
Mon Jun 28 07:53:07 CDT 2004
please test strg break on a normal keyboard instaed of Stop A
Schvnen Gru_
Paul Rvttgerding
Tel: 02182 884172
Mobil: 0173 92 18 739
EMail pr at aod-fm.de
-----Urspr|ngliche Nachricht-----
Von: "Lara Adianto" <m1r4cle_26 at yahoo.com>
An: "Will Mc Donald" <wmcdonald at ntlworld.com>; "The SunHELP List"
<sunhelp at sunhelp.org>
Gesendet: Montag, 28. Juni 2004 14:42
Betreff: Re: [SunHELP] can't login to solaris (fatal)
> I don't have solaris keyboard so I can't use stop+a to
> get the ok prompt
> --- Will Mc Donald <wmcdonald at ntlworld.com> wrote:
> > From: "Lara Adianto" <m1r4cle_26 at yahoo.com>
> >
> > > I changed /etc/pam.conf to make login authenticate
> > to
> > > ldap, and I commented out the other auth modules
> > (such
> > > pas pam_unix)...and as a result, I can't login at
> > all.
> > > When the machine is rebooted, it doesn't prompt
> > for
> > > login and straight away say login failed. I've
> > tried
> > > to telnet and ftp without success. I managed to
> > get
> > > into the box in single user mode, but I can't
> > change
> > > the pam.conf, it's a read only file. chmod doesn't
> > > work either.
> > >
> > > what should i do ?
> >
> > Boot into single user mode from cdrom. Mount your
> > root filesystem and then
> > edit /etc/pam.conf or replace it with the unmolested
> > backup copy you
> > invariably made before the edits. :)
> >
> > Something like, from the OBP...
> >
> > ok> boot cdrom -s
> >
> > Machine boots from the Solaris CD.
> >
> > # (Assuming no metadevices or anything are involved)
> > mount /dev/dsk/c0t0d0s0 /tmp/a
> > cd /mnt/a/etc
> > cp pam.conf pam.conf.broken
> > cp pam.conf.orig pam.conf
> >
> > You exact detail may vary but that's the rough idea.
> >
> > Will.
> > _______________________________________________
> > SunHELP maillist - SunHELP at sunhelp.org
> > http://www.sunhelp.org/mailman/listinfo/sunhelp
> >
>
>
> =====
> --------------------------------------------------------------------------
----------
> La vie, voyez-vous, ca n'est jamais si bon ni si mauvais qu'on croit
> -
Guy de Maupassant -
> --------------------------------------------------------------------------
----------
>
>
>
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - Send 10MB messages!
> http://promotions.yahoo.com/new_mail
> _______________________________________________
> SunHELP maillist - SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
>
More information about the SunHELP
mailing list