On some of our systems, we have an AFS client but we cannot use the
AFS Login program due to other requirements.   This means that a user
on such a system does not automatically have a pagsh.

We have a Perl code that checks for a pagsh and returns True or False.
This all works fine on SunOS 4.x, HP-UX, and DEC OSF/1 systems.
We use the output of the "groups" command to check for a pagsh.
The ouput looks like this if I am under a pagsh.

%% groups
33536 32787 ccc nisg

Now we have some new Sun Solaris 2.4 systems and the output of "groups"
no longer has those 5 digit numbers.  Hence the question:

Is there some way to query the system to find out if I am running
under a pagsh?

We could use either a command or a C function call to get the information.

----------------------------------------------------------------
| Joe Ramus  NERSC Livermore  (510) 423-8917   [EMAIL PROTECTED] |
----------------------------------------------------------------

Reply via email to