[SunHELP] can't login to solaris (fatal)

Lara Adianto m1r4cle_26 at yahoo.com
Mon Jun 28 07:37:03 CDT 2004


Thanks, but how 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 



More information about the SunHELP mailing list