in reply to Re: Listing system group members
in thread Listing system group members
Thanks! getgrgid was the function I needed:
my $gid = getgrnam $group; my @members = split ' ', (getgrgid $gid)[-1];
I now see where getgrgid is in the function manual, perlfunc(1). I'll have to read through that section until I get it.
|
|---|