openafs/doc/html/AdminReference/auarf219.htm

113 lines
5.6 KiB
HTML
Raw Normal View History

<!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="auarf218.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="auarf220.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_LISTENTRIES" HREF="auarf002.htm#ToC_233">pts listentries</A></H2>
<A NAME="IDX5353"></A>
<A NAME="IDX5354"></A>
<A NAME="IDX5355"></A>
<A NAME="IDX5356"></A>
<A NAME="IDX5357"></A>
<A NAME="IDX5358"></A>
<P><STRONG>Purpose</STRONG>
<P>Displays all user or group entries in the Protection Database
<P><STRONG>Synopsis</STRONG>
<PRE><B>pts listentries</B> [<B>-users</B>] [<B>-groups</B>] [<B>-cell</B> &lt;<VAR>cell&nbsp;name</VAR>>]
[<B>-noauth</B>] [<B>-force</B>] [<B>-help</B>]
<B>pts liste</B> [<B>-u</B>] [<B>-g</B>] [<B>-c</B> &lt;<VAR>cell&nbsp;name</VAR>>] [<B>-n</B>] [<B>-f</B>] [<B>-h</B>]
</PRE>
<P><STRONG>Description</STRONG>
<P>The <B>pts listentries</B> command displays the name and AFS ID of all
Protection Database entries of the indicated type. It also displays the
AFS ID of each entry's owner and creator.
<P>To display all user and machine entries, either include the
<B>-users</B> flag or omit both it and the <B>-groups</B> flag.
To display all group entries, include the <B>-groups</B> flag. To
display all entries, provide both flags.
<P><STRONG>Options</STRONG>
<DL>
<P><DT><B>-users
</B><DD>Displays user and machine entries.
<P><DT><B>-groups
</B><DD>Displays group entries.
<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 output includes a line for each entry, with information in four columns
that have the following headers:
<DL>
<P><DT><B><TT>Name</TT>
</B><DD>The entry's name
<P><DT><B><TT>ID</TT>
</B><DD>The entry's AFS ID (AFS UID for a user or machine, negative AFS GID
for a group)
<P><DT><B><TT>Owner</TT>
</B><DD>The AFS ID of the user or group that owns the entry
<P><DT><B><TT>Creator</TT>
</B><DD>The AFS ID of the user who created the entry (the
<B>system:administrators</B> group is listed as the creator of the
entry for <B>anonymous</B> and the system groups, but it is not otherwise
possible for a group to create groups)
</DL>
<P>In general, the entries appear in the order in which they were
created.
<P><STRONG>Examples</STRONG>
<P>The following example displays both user and group entries.
<PRE> % <B>pts listentries -users -groups</B>
Name ID Owner Creator
system:administrators -204 -204 -204
system:anyuser -101 -204 -204
system:authuser -102 -204 -204
anonymous 32766 -204 -204
admin 1 -204 32766
pat 100 -204 1
smith 101 -204 1
pat:friends -206 100 100
staff -207 -204 1
</PRE>
<P><STRONG>Privilege Required</STRONG>
<P>The issuer must belong to the <B>system:administrators</B>
group.
<P><STRONG>Related Information</STRONG>
<P><A HREF="auarf210.htm#HDRPTS_INTRO">pts</A>
<P><A HREF="auarf214.htm#HDRPTS_CREATEGROUP">pts creategroup</A>
<P><A HREF="auarf215.htm#HDRPTS_CREATEUSER">pts createuser</A>
<P><A HREF="auarf217.htm#HDRPTS_EXAMINE">pts examine</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="auarf218.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="auarf220.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>