And then you move to a system running NIS or LDAP and miss anything not defined in the local /etc/group file. This is why you go through getgrent which uses the system's group reading libraries and honours nsswitch.conf (or whatever).
In reply to Re: Re: Retrieve unix group membership for a uid in a perl CGI
by Fletch
in thread Retrieve unix group membership for a uid in a perl CGI
by cprice
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |