Date: Thu, 15 Jul 2010 10:36:38 +0000 From: Jens Rehsack <rehsack@googlemail.com> To: freebsd-questions@freebsd.org Subject: Duplicate entries when iterating using getgrent() Message-ID: <4C3EE4B6.8010005@netbsd.org>
next in thread | raw e-mail | index | archive | help
Hi all, I'm currently working on a Perl5 module named DBD::Sys and detected an issue on my FreeBSD test box. When iterating over the users/groups using getpwent/getgrent, I get duplicated entries for some groups. But this are not (only) duplicated entries which occur in both (/etc/group, yp) data sources (like wheel), that are groups like sshd, proxy etc., too. The groups which are affected are all groups with gid < 100 and nobody (65534) and nogroup(65533). Any suggestions? Thanks, Jens
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C3EE4B6.8010005>