caches user id and group id on startup. pwd.getpwnam() and grp.getgrnam() were
not working after chroot on ubuntu or centos