16 Jul
2010
16 Jul
'10
2:12 a.m.
On 15.7.2010, at 23.58, Timo Sirainen wrote:
userdb passwd. Our LDAP directory might not be optimally configured. The group that administers it only really cares about binds, iteration can be rather slow:
[root@cc-popmap7 ~]# time getent passwd | wc -l 51552
real 8m0.120s user 0m2.507s sys 0m1.093s
That comes out to just over 100 entries a second.
Maybe there could be a parameter to get the user list from a file (one username per line) instead of userdb.
Added -f parameter for this.