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

david l goodrich dlg@dorkzilla.org
Tue, 5 Dec 2006 14:05:15 -0600


--UFHRwCdBEJvubb2X
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

> 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>
>=20
> Use /usr/ucb/groups, and the existence of those 2 funky groups
> means "In a PAG"
>=20
> Correct?

that's the test i've always used.
  --david

--UFHRwCdBEJvubb2X
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (NetBSD)

iD8DBQFFddD5HDmo5jqnP4QRAjCEAJ4o7AE5B1GxzffrZoiyEUVnQRdgQwCff5aV
VC4QpxP1yMBlufdj5CWe8wo=
=jmSy
-----END PGP SIGNATURE-----

--UFHRwCdBEJvubb2X--