Fixed getent redirections. Added group type