On Tue, 5 Dec 2006, Jeff Blaine wrote:

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 code.

src:joshua> /usr/bin/groups
staff rt nrrcsup sysadmin src testbed_afs_testers
src:joshua> /usr/ucb/groups
33536 32516 staff rt nrrcsup sysadmin src testbed_afs_testers
src:joshua>

Use /usr/ucb/groups, and the existence of those 2 funky groups
means "In a PAG"

Correct?

Yes.
_______________________________________________
OpenAFS-info mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-info

Reply via email to