use getent such that it does not require enumeration