On Sat, Oct 13, 2007 at 03:45:14AM +0800, joseph blase alleged:
[root@amsdc2-n-s04taw root]# time id userid uid=36923(userid) gid=36923(u_036923) groups=36923(u_036923)
real 0m10.509s user 0m0.030s sys 0m0.090s
Start with 'strace id userid' to see where it is stalling. Maybe you'll find a bad PTR lookup or something.
You can also determine if the stall is in NIS code with 'ypmatch userid passwd'.
If nscd is running, does killing it make a difference?
Any selinux violations in /var/log/messages?