add typedef for group and passwd struct