in reply to Re: Fetching groups a user is in
in thread Fetching groups a user is in
I saved the code as gpu.pl and ran it for some users:
--
Regards, Ruud
With root, group 0 is reported twice. With rvtol, group user (30) isn't reported.$ gpu.pl root 0 2 3 4 5 20 31 0 $ gpu.pl rvtol $ id -Gn rvtol user
--
Regards, Ruud
In Section
Seekers of Perl Wisdom