getent does not exist on 10.9 so this commit uses dscacheutil to query the homedir for the root user.