replace getpwnam_alloc with plain getpwnam.