Updated to support disabling getpwnam()