[CentOS] Services take a long time during initialzation (LDAP-authentication)

Stephen Harris lists at spuddy.org
Thu Oct 2 16:32:15 UTC 2008


On Thu, Oct 02, 2008 at 12:25:55PM -0400, Filipe Brandenburger wrote:

> Personally, I use a longer list or users:
> nss_initgroups_ignoreusers root,ldap,named,avahi,haldaemon,dbus
> 
> I've collected those in trying to speed up the startup of other
> daemons. I'm not sure if all of them are still relevant, but in any
> case I think it's a good idea to configure this for users that you
> know for sure they are in /etc/passwd and not in LDAP.

Or maybe just for local system accounts with uid < 100 ?

This would return that list:

 awk -F: '$3<100 { a = a "," $1} END { a=substr(a,2) ; print a}' /etc/passwd

-- 

rgds
Stephen



More information about the CentOS mailing list