fixes #48 - use getent for passwd and group

Change from parsing /etc/passwd and /etc/group to using getent because getent respects OS configs like nsswitch.conf