afsmonitor-document-usage-20040729
[openafs.git] / doc / html / AdminReference / auarf226.htm
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 4//EN">
2 <HTML><HEAD>
3 <TITLE>Administration Reference</TITLE>
4 <!-- Begin Header Records  ========================================== -->
5 <!-- /tmp/idwt3672/auarf000.scr converted by idb2h R4.2 (359) ID      -->
6 <!-- Workbench Version (AIX) on 3 Oct 2000 at 16:18:30                -->
7 <META HTTP-EQUIV="updated" CONTENT="Tue, 03 Oct 2000 16:18:29">
8 <META HTTP-EQUIV="review" CONTENT="Wed, 03 Oct 2001 16:18:29">
9 <META HTTP-EQUIV="expires" CONTENT="Thu, 03 Oct 2002 16:18: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="auarf225.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="auarf227.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_SETMAX" HREF="auarf002.htm#ToC_240">pts setmax</A></H2>
19 <A NAME="IDX5409"></A>
20 <A NAME="IDX5410"></A>
21 <A NAME="IDX5411"></A>
22 <A NAME="IDX5412"></A>
23 <A NAME="IDX5413"></A>
24 <A NAME="IDX5414"></A>
25 <A NAME="IDX5415"></A>
26 <A NAME="IDX5416"></A>
27 <P><STRONG>Purpose</STRONG>
28 <P>Sets the value of the <TT>max group id</TT> or <TT>max user id</TT>
29 counter
30 <P><STRONG>Synopsis</STRONG>
31 <PRE><B>pts setmax</B> [<B>-group</B> &lt;<VAR>group&nbsp;max</VAR>>]  [<B>-user</B> &lt;<VAR>user&nbsp;max</VAR>>]  [<B>-cell</B> &lt;<VAR>cell&nbsp;name</VAR>>]   
32            [<B>-noauth</B>]  [<B>-force</B>]  [<B>-help</B>] 
33     
34 <B>pts setm</B> [<B>-g</B> <VAR>group&nbsp;max</VAR>>]  [<B>-u</B> &lt;<VAR>user&nbsp;max</VAR>>]  [<B>-c</B> &lt;<VAR>cell&nbsp;name</VAR>>]  [<B>-n</B>]  [<B>-f</B>]  [<B>-h</B>]
35 </PRE>
36 <P><STRONG>Description</STRONG>
37 <P>The <B>pts setmax</B> command sets the value of one or both counters
38 that track the IDs the Protection Server allocates to new users, machines, or
39 groups: the <TT>max user id</TT> counter for the AFS user IDs (AFS
40 UIDs) assigned to users and machines, and the <TT>max group id</TT> counter
41 for the AFS group IDs (AFS GIDs) assigned to groups.
42 <P>Use the <B>pts listmax</B> command to display the current value of both
43 counters.
44 <P><STRONG>Options</STRONG>
45 <DL>
46 <P><DT><B>-group
47 </B><DD>Sets the <TT>max group id</TT> counter. Precede the value with a
48 hyphen to indicate that it is negative. When an administrator next uses
49 the <B>pts creategroup</B> command to create a group entry and does not
50 include that command's <B>-id</B> argument, the Protection Server
51 assigns the group an AFS GID one less (more negative) than this value.
52 <P><DT><B>-user
53 </B><DD>Sets the <TT>max user id</TT> counter. When an administrator next
54 uses the <B>pts createuser</B> command to create a user or machine entry
55 and does not include that command's <B>-id</B> argument, the
56 Protection Server assigns the group an AFS UID one greater than this
57 value.
58 <P><DT><B>-cell
59 </B><DD>Names the cell in which to run the command. For more details, see
60 the introductory <B>pts</B> reference page.
61 <P><DT><B>-noauth
62 </B><DD>Assigns the unprivileged identity <B>anonymous</B> to the
63 issuer. For more details, see the introductory <B>pts</B> reference
64 page.
65 <P><DT><B>-force
66 </B><DD>Enables the command to continue executing as far as possible when errors
67 or other problems occur, rather than halting execution at the first
68 error.
69 <P><DT><B>-help
70 </B><DD>Prints the online help for this command. All other valid options
71 are ignored.
72 </DL>
73 <P><STRONG>Examples</STRONG>
74 <P>The following command sets the <TT>max group id</TT> counter to -500 and
75 the <TT>max user id</TT> counter to 1000.
76 <PRE>   % <B>pts setmax -group -500 -user 1000</B>
77    
78 </PRE>
79 <P><STRONG>Privilege Required</STRONG>
80 <P>The issuer must belong to the <B>system:administrators</B>
81 group.
82 <P><STRONG>Related Information</STRONG>
83 <P><A HREF="auarf210.htm#HDRPTS_INTRO">pts</A>
84 <P><A HREF="auarf214.htm#HDRPTS_CREATEGROUP">pts creategroup</A>
85 <P><A HREF="auarf215.htm#HDRPTS_CREATEUSER">pts createuser</A>
86 <P><A HREF="auarf220.htm#HDRPTS_LISTMAX">pts listmax</A>
87 <P>
88 <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="auarf225.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="auarf227.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> 
89 <!-- Begin Footer Records  ========================================== -->
90 <P><HR><B> 
91 <br>&#169; <A HREF="http://www.ibm.com/">IBM Corporation 2000.</A>  All Rights Reserved 
92 </B> 
93 <!-- End Footer Records  ============================================ -->
94 <A NAME="Bot_Of_Page"></A>
95 </BODY></HTML>