in reply to Fetching groups a user is in
This normally doesn't require any special priviledges.my @groups = `groups $username`; print join "\n", @groups;
Update: Then determine the GIDs of course.
"Make everything as simple as possible, but not simpler." -- Albert Einstein
|
|---|