On Wed, 2008-04-16 at 17:45 +0800, John Summerfield wrote: > fwiw I have an outstanding (since fc6 but I've verified it in CentOS5) > concerning using authconfig in kickstart, and then adding users in %post. > > ldap isn't running, and it takes about 15 minutes per user. Originally I > wrote it off as hung, but lately I've been starting a ks install then > going on with other stuff. I'm a lot more patient then:-)
John, Have you tried luseradd instead of useradd? In our environment even with NIS running properly, useradd would take 45-60 minutes per user because of the way glibc queries NIS (we have tens of thousands of users in NIS). luseradd works well, but then we had to fix all the apps which call useradd during installation (i.e. apache). In the end, we renamed useradd to useradd.real and /usr/sbin/useradd was a wrapper around luseradd. It's a horrible hack, but it's required in our environment. Come to think of it, I don't understand why Apache and other RPMs which require local users don't call luseradd and I don't believe we ever escalated it to Red Hat Engineering to figure out their reasoning. /Brian/ -- Brian Long | | . | | | . | | | . ' ' C I S C O _______________________________________________ rhelv5-list mailing list rhelv5-list@redhat.com https://www.redhat.com/mailman/listinfo/rhelv5-list