[OpenAFS] Determining if a shell is in a PAG?
Tue, 05 Dec 2006 15:01:20 -0500
Derrick J Brashear wrote:
> On Tue, 5 Dec 2006, Jeff Blaine wrote:
>> I can't make any sense of curpag() in src/auth/ktc.c
> pull 2 group off the groups, compute a PAG number from them
>> Is there a simple way to determine if a shell is in a PAG?
> run groups from your shell and do the analogous computation, or run that
staff rt nrrcsup sysadmin src testbed_afs_testers
33536 32516 staff rt nrrcsup sysadmin src testbed_afs_testers
Use /usr/ucb/groups, and the existence of those 2 funky groups
means "In a PAG"