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

Derrick J Brashear shadow@dementia.org
Tue, 5 Dec 2006 13:46:57 -0500 (EST)

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