[348] in Info-AFS_Redistribution
YES NONE
daemon@ATHENA.MIT.EDU (NIK%ZURLVM1.BITNET@pucc.princeton.)
Thu Oct 17 05:45:30 1991
Date: Thu, 17 Oct 91 09:16:02 SET
To: Info-AFS@transarc.com
From: NIK%ZURLVM1.BITNET@pucc.princeton.edu
Date: 17 October 1991, 09:02:29 SET
From: Michael Niksch 0041-1-7248-913 NIK at ZURLVM1
IBM Research Laboratory Zurich
AIX Support Group
Saeumerstrasse 4
CH-8803 Rueschlikon
To: AFS info 001-412-338-4400 Info-AFS@transarc.com
Subject: How do I chown a file in AFS
AFS requires that you have a system:administrators token. The operating
system itself (e.g. AIX 3.1) might require that you run 'chown' with
UNIX uid 0, i.e. as 'root' on the UNIX machine where you invoke it.
If you lose your system:administrators token when you do 'su', this is
due to the fact that your tokens are associated with UNIX uids instead
of process authentication groups (PAGs). Start a 'pagsh' (a version
/bin/sh that does a setpag() call) from your uid, do another klog to get
a system:administrators token for the new PAG, then 'su' to 'root'.
Now you should have UNIX uid 0 while still holding a system:administrators
token.
You can check whether your token is associated with a UNIX uid or with a
PAG by issuing /bin/groups. If the output starts with 10 digits, they
identify your PAG. Otherwise, the token is associated with UNIX uid.
Michael Niksch