openafs/doc/html/AdminReference/auarf216.htm

108 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="auarf215.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="auarf217.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_DELETE" HREF="auarf002.htm#ToC_230">pts delete</A></H2>
<A NAME="IDX5293"></A>
<A NAME="IDX5294"></A>
<A NAME="IDX5295"></A>
<A NAME="IDX5296"></A>
<A NAME="IDX5297"></A>
<A NAME="IDX5298"></A>
<A NAME="IDX5299"></A>
<A NAME="IDX5300"></A>
<A NAME="IDX5301"></A>
<A NAME="IDX5302"></A>
<P><STRONG>Purpose</STRONG>
<P>Deletes a Protection Database entry
<P><STRONG>Synopsis</STRONG>
<PRE><B>pts delete -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 d -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 delete</B> command removes each entry specified by the
<B>-nameorid</B> argument from the Protection Database. Deleting
entries affects other parts of the system in various ways:
<UL>
<P><LI>Deleted users and groups still appear on access control lists (ACLs), but
are listed by AFS UID or GID rather than by name, because there is no longer
an associated name to which to translate the ID. To remove these
obsolete entries from ACLs, use the <B>fs cleanacl</B> command.
<P><LI>Deleting a user or machine's entry removes it from the membership
list of any group to which it belonged.
<P><LI>Deleting a group entry removes it from the membership list of any user or
machine entry that belonged to the group, and also increments the
group-creation quota of the group's creator by one, even if the creator
no longer owns the group.
</UL>
<P>To remove a user or machine from a group without actually deleting the
entry, use the <B>pts removeuser</B> command.
<P><STRONG>Options</STRONG>
<DL>
<P><DT><B>-nameorid
</B><DD>Specifies the name or AFS UID of each user, the name or AFS GID of each
group, or the IP address (complete or wildcard-style) or AFS UID of each
machine entry to delete. It is acceptable to mix users, machines, and
groups on the same command line, as well as names (IP addresses for machines)
and IDs. Precede the GID of each group with a hyphen to indicate that
it is negative.
<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>Examples</STRONG>
<P>The following example deletes the user entries <B>pat</B> and
<B>terry</B>:
<PRE> % <B>pts delete pat terry</B>
</PRE>
<P>The following example deletes the Protection Database entry of the group
with AFS GID -215.
<PRE> %<B> pts delete -215</B>
</PRE>
<P><STRONG>Privilege Required</STRONG>
<P>The issuer must belong to the <B>system:administrators</B> group
to delete user and machine entries. To delete group entries, the issuer
must either own the group or belong to the
<B>system:administrators</B> group.
<P><STRONG>Related Information</STRONG>
<P><A HREF="auarf135.htm#HDRFS_CLEANACL">fs cleanacl</A>
<P><A HREF="auarf210.htm#HDRPTS_INTRO">pts</A>
<P><A HREF="auarf223.htm#HDRPTS_REMOVEUSER">pts removeuser</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="auarf215.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="auarf217.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>