change from parsing /etc/passwd and /etc/group to using getent because getent respects OS configs like nsswitch.conf - fixes issue #48