With the default nscd.conf, nscd runs at root. As far as I know, this is not required. I've checked other distros and nscd is usually configured to run under it's own non-priveledged account. The config option to change this is: /etc/nscd.conf: server-user <user> Redhat has: # id nscd uid=28(nscd) gid=28(nscd) groups=28(nscd) /etc/passwd: nscd:x:28:28:NSCD Daemon:/:/sbin/nologin In addition, if persistent caches are enabled, the default file location is /var/db/nscd, which should be created on startup if it doesn't exist (/etc/init.d/nscd): [ -d /var/db/nscd ] || mkdir /var/db/nscd
Also.. glibc-2.3.6-r2 does not create /var/run/nscd, which results in... stat: cannot stat `/var/run/nscd': No such file or directory when trying to use the initscript.
It seems this hasn't bothered anyone else since there has been absolutely no movement on this bug, and I"m not going to just let it sit here to rot. (that gives people the impression it might be fixed, which it doesn't look like it will)