in reply to Retrieve unix group membership for a uid in a perl CGI
The format is pretty simple:
name:x:group id (integeter):list,of,usernames
while (<GROUP>) { my ($group,$x,$gid,$list)=split(':',$_); push(@groups,$group) if ($list=~/$username/); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Retrieve unix group membership for a uid in a perl CGI
by kvale (Monsignor) on Apr 09, 2004 at 18:18 UTC | |
by Fletch (Bishop) on Apr 09, 2004 at 18:31 UTC | |
by matija (Priest) on Apr 09, 2004 at 18:24 UTC | |
by kvale (Monsignor) on Apr 09, 2004 at 18:33 UTC | |
|
Re: Re: Retrieve unix group membership for a uid in a perl CGI
by Fletch (Bishop) on Apr 09, 2004 at 18:24 UTC | |
by matija (Priest) on Apr 09, 2004 at 18:41 UTC |