Some (embedded) systems don't provide getent(1). The workaround parses /etc/passwd and /etc/group under the assumption that these sysems only use local users and groups.
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>