Re: How to disable ldap auth on login?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

try authconfig   it lets you change how you authenticate on your systems.  
ldap, nis, smb, etc

Dennis

Once upon a time at band camp Sat, 14 Jun 2003 08:14 am, Doug Wyatt wrote:
> Thanks,
>
> I'd already tried removing 'ldap' from every active line
> in nsswitch.conf, commented-out the active lines in the
> ldap.conf file and changed the rc5.d entry S95saslauthd
> to K95saslauthd.  In other words, I'd thrashed about a
> little bit w/o success.
>
> Logging on single-user worked, though I hadn't thought
> about trying that until today.
>
> And 'authconfig --disableldapauth --disableldap --enableshadow'
> surprised me by bringing up a DOS-style GUI.  The result of
> using authconfig was just what I needed.  I can login multi-
> user under RH9, now.
>
> Again, thanks to you and Justin for your responses.
>
> IDH,
> Doug
>
> Gordon Pritchard wrote:
> > On Fri, 2003-06-13 at 01:05, Doug Wyatt wrote:
> >>enabling LDAP and SASL and somehow changing login
> >> authentication to use these.
> >>
> >>
> >>Can someone take pity on a poor idiot and tell me what files
> >>on the RH9 partition I can modify to revert to simple shadow
> >>password file authentication for logins?
> >>
> >>I can boot RH8 under another partition and mount the RH9
> >>partition for access.
> >
> > 	Did anyone reply?  Well, here's my Friday the 13th $0.02 to try to help
> > you:
> >
> > 	Edit (as root) your file /etc/nsswitch.conf.  You will probably have:
> >
> > passwd:     files ldap
> > shadow:     files ldap
> > group:      files ldap
> >
> > 	Remove the 'ldap' references from everywhere, and you should be fine!
> >
> > 	(as an alternative, you could use the 'authconfig' tool, and uncheck
> > the "Use LDAP" box.  I haven't tried this, but I have used authconfig to
> > _enable_ LDAP).
> >
> > 	HTH,
> > 	-Gord
>
> --
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Doug Wyatt     <dwyatt@xxxxxxxxxxxxxxxxxx>
> Sys Admin - Kohlman Systems Research, Inc.
> 319 Perry St.,  Lawrence,  KS  66044   USA
> Phone: 785-843-4099      Fax: 785-843-6459
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+6mpqpsZxg5TSdKURAkI0AJ985F68AgKMIJfnTRxlgmcRhYFm4QCeNKKt
DZCi/aApHN+WRh9VRyV7q0Y=
=PRPH
-----END PGP SIGNATURE-----




[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux