[OpenAFS] Determining if a shell is in a PAG?

Russ Allbery rra@stanford.edu
Tue, 05 Dec 2006 10:46:35 -0800

Jeff Blaine <jblaine@mitre.org> writes:

> I can't make any sense of curpag() in src/auth/ktc.c
> Is there a simple way to determine if a shell is in a PAG?

Run a command that shows all the groups of the user and look for values in
the 30000 range that don't correspond to /etc/groups entries.  That's what
I always do; I don't know if there's something simpler.

Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>