openafs/doc/html/AdminReference/auarf221.htm
Derrick Brashear d7da1acc31 initial-html-documentation-20010606
pull in all documentation from IBM
2001-06-06 19:09:07 +00:00

128 lines
6.6 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 4//EN">
<HTML><HEAD>
<TITLE>Administration Reference</TITLE>
<!-- Begin Header Records ========================================== -->
<!-- /tmp/idwt3672/auarf000.scr converted by idb2h R4.2 (359) ID -->
<!-- Workbench Version (AIX) on 3 Oct 2000 at 16:18:30 -->
<META HTTP-EQUIV="updated" CONTENT="Tue, 03 Oct 2000 16:18:29">
<META HTTP-EQUIV="review" CONTENT="Wed, 03 Oct 2001 16:18:29">
<META HTTP-EQUIV="expires" CONTENT="Thu, 03 Oct 2002 16:18:29">
</HEAD><BODY>
<!-- (C) IBM Corporation 2000. All Rights Reserved -->
<BODY bgcolor="ffffff">
<!-- End Header Records ============================================ -->
<A NAME="Top_Of_Page"></A>
<H1>Administration Reference</H1>
<HR><P ALIGN="center"> <A HREF="../index.htm"><IMG SRC="../books.gif" BORDER="0" ALT="[Return to Library]"></A> <A HREF="auarf002.htm#ToC"><IMG SRC="../toc.gif" BORDER="0" ALT="[Contents]"></A> <A HREF="auarf220.htm"><IMG SRC="../prev.gif" BORDER="0" ALT="[Previous Topic]"></A> <A HREF="#Bot_Of_Page"><IMG SRC="../bot.gif" BORDER="0" ALT="[Bottom of Topic]"></A> <A HREF="auarf222.htm"><IMG SRC="../next.gif" BORDER="0" ALT="[Next Topic]"></A> <A HREF="auarf284.htm#HDRINDEX"><IMG SRC="../index.gif" BORDER="0" ALT="[Index]"></A> <P>
<P>
<H2><A NAME="HDRPTS_LISTOWNED" HREF="auarf002.htm#ToC_235">pts listowned</A></H2>
<A NAME="IDX5367"></A>
<A NAME="IDX5368"></A>
<A NAME="IDX5369"></A>
<A NAME="IDX5370"></A>
<A NAME="IDX5371"></A>
<A NAME="IDX5372"></A>
<A NAME="IDX5373"></A>
<P><STRONG>Purpose</STRONG>
<P>Displays the Protection Database groups owned by a user or group
<P><STRONG>Synopsis</STRONG>
<PRE><B>pts listowned -nameorid</B> &lt;<VAR>user&nbsp;or&nbsp;group&nbsp;name&nbsp;or&nbsp;id</VAR>><SUP>+</SUP> [<B>-cell</B> &lt;<VAR>cell&nbsp;name</VAR>>]
[<B>-noauth</B>] [<B>-force</B>] [<B>-help</B>]
<B>pts listo -na</B> &lt;<VAR>user&nbsp;or&nbsp;group&nbsp;name&nbsp;or&nbsp;id</VAR>><SUP>+</SUP> [<B>-c</B> &lt;<VAR>cell&nbsp;name</VAR>>]
[<B>-no</B>] [<B>-f</B>] [<B>-h</B>]
</PRE>
<P><STRONG>Description</STRONG>
<P>The <B>pts listowned</B> command lists the groups owned by each user or
group specified by the <B>-nameorid</B> argument.
<P>To list any <I>orphaned group</I>s, whose owners have themselves been
deleted from the Protection Database, provide a value of <B>0</B> (zero)
for the <B>-nameorid</B> argument. To change the owner to a user or
group that still exists, use the <B>pts chown</B> command.
<P><STRONG>Options</STRONG>
<DL>
<P><DT><B>-nameorid
</B><DD>Specifies the name or AFS UID of each user, or the name or AFS GID of each
group, for which to display the list of owned groups. It is acceptable
to mix users and groups on the same command line, as well as names and
IDs. Precede the GID of each group with a hyphen to indicate that it is
negative.
<P>A value of <B>0</B> (zero) lists group entries for groups whose owners
no longer have entries in the Protection Database.
<P><DT><B>-cell
</B><DD>Names the cell in which to run the command. For more details, see
the introductory <B>pts</B> reference page.
<P><DT><B>-noauth
</B><DD>Assigns the unprivileged identity <B>anonymous</B> to the
issuer. For more details, see the introductory <B>pts</B> reference
page.
<P><DT><B>-force
</B><DD>Enables the command to continue executing as far as possible when errors
or other problems occur, rather than halting execution at the first
error.
<P><DT><B>-help
</B><DD>Prints the online help for this command. All other valid options
are ignored.
</DL>
<P><STRONG>Output</STRONG>
<P>The first line of the output indicates the name and AFS UID or AFS GID of
each user or group for which ownership information is requested, in the
following format:
<PRE> Groups owned by <VAR>name</VAR> (id: <VAR>ID</VAR>) are:
</PRE>
<P>A list of groups follows. The list does not include groups owned by
groups that the user or group owns, or to which the user or group
belongs. If the user or group does not own any groups, only the header
line appears.
<P>The following error message appears if the issuer is not privileged to view
ownership information. By default, for both user and group entries the
second privacy flag is the hyphen, which denies permission to anyone other
than the user (for a user entry) and the members of the
<B>system:administrators</B> group.
<PRE> pts: Permission denied so failed to get owner list for <VAR>name</VAR> (id: <VAR>ID</VAR>)
</PRE>
<P><STRONG>Examples</STRONG>
<P>The following example lists the groups owned by user <B>terry</B> and
shows that the group <B>terry:friends</B> does not own any
groups:
<PRE> % <B>pts listowned terry terry:friends</B>
Groups owned by terry (id: 1045) are:
terry:friends
terry:project1
terry:project2
Groups owned by terry:friends (id: -673) are:
</PRE>
<P><STRONG>Privilege Required</STRONG>
<P>The required privilege depends on the setting of the second privacy flag in
the Protection Database entry of each user or group indicated by the
<B>-nameorid</B> argument (use the <B>pts examine</B> command to
display the flags):
<UL>
<P><LI>If it is the hyphen and the <B>-nameorid</B> argument specifies a
group, only the members of the <B>system:administrators</B> group
and the owner of a group can list the groups it owns.
<P><LI>If it is the hyphen and the <B>-nameorid</B> argument specifies a
user, only the members of the <B>system:administrators</B> group and
the associated user can list the groups he or she owns.
<P><LI>If it is uppercase letter <TT>O</TT>, anyone who can access the
cell's database server machines can list the groups owned by this user or
group.
</UL>
<P><STRONG>Related Information</STRONG>
<P><A HREF="auarf210.htm#HDRPTS_INTRO">pts</A>
<P><A HREF="auarf213.htm#HDRPTS_CHOWN">pts chown</A>
<P><A HREF="auarf217.htm#HDRPTS_EXAMINE">pts examine</A>
<P><A HREF="auarf225.htm#HDRPTS_SETFIELDS">pts setfields</A>
<P>
<HR><P ALIGN="center"> <A HREF="../index.htm"><IMG SRC="../books.gif" BORDER="0" ALT="[Return to Library]"></A> <A HREF="auarf002.htm#ToC"><IMG SRC="../toc.gif" BORDER="0" ALT="[Contents]"></A> <A HREF="auarf220.htm"><IMG SRC="../prev.gif" BORDER="0" ALT="[Previous Topic]"></A> <A HREF="#Top_Of_Page"><IMG SRC="../top.gif" BORDER="0" ALT="[Top of Topic]"></A> <A HREF="auarf222.htm"><IMG SRC="../next.gif" BORDER="0" ALT="[Next Topic]"></A> <A HREF="auarf284.htm#HDRINDEX"><IMG SRC="../index.gif" BORDER="0" ALT="[Index]"></A> <P>
<!-- Begin Footer Records ========================================== -->
<P><HR><B>
<br>&#169; <A HREF="http://www.ibm.com/">IBM Corporation 2000.</A> All Rights Reserved
</B>
<!-- End Footer Records ============================================ -->
<A NAME="Bot_Of_Page"></A>
</BODY></HTML>