fsbnode-rename-unused-to-dummy-20090604
[openafs.git] / src / WINNT / doc / install / Documentation / en_US / html / CmdRef / auarf216.htm
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3//EN">
2 <HTML><HEAD>
3 <TITLE>Administration Reference</TITLE>
4 <!-- Begin Header Records  ========================================== -->
5 <!-- /tmp/idwt3190/auarf000.scr converted by idb2h R4.2 (359) ID      -->
6 <!-- Workbench Version (AIX) on 5 Nov 1999 at 13:58:29                -->
7 <META HTTP-EQUIV="updated" CONTENT="Fri, 05 Nov 1999 13:58:29">
8 <META HTTP-EQUIV="review" CONTENT="Sun, 05 Nov 2000 13:58:29">
9 <META HTTP-EQUIV="expires" CONTENT="Mon, 05 Nov 2001 13:58:29">
10 </HEAD><BODY>
11 <!-- (C) IBM Corporation 2000. All Rights Reserved    --> 
12 <BODY bgcolor="ffffff"> 
13 <!-- End Header Records  ============================================ -->
14 <A NAME="Top_Of_Page"></A>
15 <H1>Administration Reference</H1>
16 <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> 
17 <P>
18 <H2><A NAME="HDRPTS_DELETE" HREF="auarf002.htm#ToC_230">pts delete</A></H2>
19 <A NAME="IDX5293"></A>
20 <A NAME="IDX5294"></A>
21 <A NAME="IDX5295"></A>
22 <A NAME="IDX5296"></A>
23 <A NAME="IDX5297"></A>
24 <A NAME="IDX5298"></A>
25 <A NAME="IDX5299"></A>
26 <A NAME="IDX5300"></A>
27 <A NAME="IDX5301"></A>
28 <A NAME="IDX5302"></A>
29 <P><STRONG>Purpose</STRONG>
30 <P>Deletes a Protection Database entry
31 <P><STRONG>Synopsis</STRONG>
32 <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>>]  
33            [<B>-noauth</B>]  [<B>-force</B>]  [<B>-help</B>]
34    
35 <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>]
36 </PRE>
37 <P><STRONG>Description</STRONG>
38 <P>The <B>pts delete</B> command removes each entry specified by the
39 <B>-nameorid</B> argument from the Protection Database. Deleting
40 entries affects other parts of the system in various ways&#58;
41 <UL>
42 <P><LI>Deleted users and groups still appear on access control lists (ACLs), but
43 are listed by AFS UID or GID rather than by name, because there is no longer
44 an associated name to which to translate the ID. To remove these
45 obsolete entries from ACLs, use the <B>fs cleanacl</B> command.
46 <P><LI>Deleting a user or machine&#39;s entry removes it from the membership
47 list of any group to which it belonged.
48 <P><LI>Deleting a group entry removes it from the membership list of any user or
49 machine entry that belonged to the group, and also increments the
50 group-creation quota of the group&#39;s creator by one, even if the creator
51 no longer owns the group.
52 </UL>
53 <P>To remove a user or machine from a group without actually deleting the
54 entry, use the <B>pts removeuser</B> command.
55 <P><STRONG>Options</STRONG>
56 <DL>
57 <P><DT><B>-nameorid
58 </B><DD>Specifies the name or AFS UID of each user, the name or AFS GID of each
59 group, or the IP address (complete or wildcard-style) or AFS UID of each
60 machine entry to delete. It is acceptable to mix users, machines, and
61 groups on the same command line, as well as names (IP addresses for machines)
62 and IDs. Precede the GID of each group with a hyphen to indicate that
63 it is negative.
64 <P><DT><B>-cell
65 </B><DD>Names the cell in which to run the command. For more details, see
66 the introductory <B>pts</B> reference page.
67 <P><DT><B>-noauth
68 </B><DD>Assigns the unprivileged identity <B>anonymous</B> to the
69 issuer. For more details, see the introductory <B>pts</B> reference
70 page.
71 <P><DT><B>-force
72 </B><DD>Enables the command to continue executing as far as possible when errors
73 or other problems occur, rather than halting execution at the first
74 error.
75 <P><DT><B>-help
76 </B><DD>Prints the online help for this command. All other valid options
77 are ignored.
78 </DL>
79 <P><STRONG>Examples</STRONG>
80 <P>The following example deletes the user entries <B>pat</B> and
81 <B>terry</B>&#58;
82 <PRE>   % <B>pts delete pat terry</B>
83    
84 </PRE>
85 <P>The following example deletes the Protection Database entry of the group
86 with AFS GID -215.
87 <PRE>   %<B> pts delete -215</B>
88    
89 </PRE>
90 <P><STRONG>Privilege Required</STRONG>
91 <P>The issuer must belong to the <B>system&#58;administrators</B> group
92 to delete user and machine entries. To delete group entries, the issuer
93 must either own the group or belong to the
94 <B>system&#58;administrators</B> group.
95 <P><STRONG>Related Information</STRONG>
96 <P><A HREF="auarf135.htm#HDRFS_CLEANACL">fs cleanacl</A>
97 <P><A HREF="auarf210.htm#HDRPTS_INTRO">pts</A>
98 <P><A HREF="auarf223.htm#HDRPTS_REMOVEUSER">pts removeuser</A>
99 <P>
100 <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> 
101 <!-- Begin Footer Records  ========================================== -->
102 <P><HR><B> 
103 <br>&#169; <A HREF="http://www.ibm.com/">IBM Corporation 2000.</A>  All Rights Reserved 
104 </B> 
105 <!-- End Footer Records  ============================================ -->
106 <A NAME="Bot_Of_Page"></A>
107 </BODY></HTML>