afsmonitor-document-stat-entries-correctly-20040729
[openafs.git] / doc / html / AdminReference / auarf112.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="auarf111.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="auarf113.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="HDRBOS_REMOVEUSER" HREF="auarf002.htm#ToC_126">bos removeuser</A></H2>
19 <A NAME="IDX4598"></A>
20 <A NAME="IDX4599"></A>
21 <A NAME="IDX4600"></A>
22 <A NAME="IDX4601"></A>
23 <A NAME="IDX4602"></A>
24 <P><STRONG>Purpose</STRONG>
25 <P>Removes a privileged user from the <B>/usr/afs/etc/UserList</B> file
26 <P><STRONG>Synopsis</STRONG>
27 <PRE><B>bos removeuser -server</B> &lt;<VAR>machine&nbsp;name</VAR>>  <B>-user</B> &lt;<VAR>user&nbsp;names</VAR>><SUP>+</SUP> 
28                [<B>-cell</B> &lt;<VAR>cell&nbsp;name</VAR>>]  [<B>-noauth</B>]  [<B>-localauth</B>]  [<B>-help</B>]
29   
30 <B>bos removeu -s</B> &lt;<VAR>machine&nbsp;name</VAR>>  <B>-u</B> &lt;<VAR>user&nbsp;names</VAR>><SUP>+</SUP>  [<B>-c</B> &lt;<VAR>cell&nbsp;name</VAR>>]  
31             [<B>-n</B>]  [<B>-l</B>]  [<B>-h</B>]
32 </PRE>
33 <P><STRONG>Description</STRONG>
34 <P>The <B>bos removeuser</B> command removes each user name specified with
35 the <B>-user</B> argument from the <B>/usr/afs/etc/UserList</B> file
36 on the machine named by the <B>-server</B> argument.
37 <P><STRONG>Options</STRONG>
38 <DL>
39 <P><DT><B><B>-server</B>
40 </B><DD>Indicates the server machine on which to change the
41 <B>/usr/afs/etc/UserList</B> file. Identify the machine by IP
42 address or its host name (either fully-qualified or abbreviated
43 unambiguously). For details, see the introductory reference page for
44 the <B>bos</B> command suite. 
45 <P>In cells that run the United States edition of AFS and use the Update
46 Server to distribute the contents of the <B>/usr/afs/etc</B> directory, it
47 is conventional to specify only the system control machine as a value for the
48 <B>-server</B> argument. In cells that run the international
49 version of AFS, repeat the command for each file server machine. For
50 further discussion, see the introductory reference page for the <B>bos</B>
51 command suite.
52 <P><DT><B><B>-user</B>
53 </B><DD>Specifies each user name to remove.
54 <P><DT><B><B>-cell</B>
55 </B><DD>Names the cell in which to run the command. Do not combine this
56 argument with the <B>-localauth</B> flag. For more details, see the
57 introductory <B>bos</B> reference page.
58 <P><DT><B><B>-noauth</B>
59 </B><DD>Assigns the unprivileged identity <B>anonymous</B> to the
60 issuer. Do not combine this flag with the <B>-localauth</B>
61 flag. For more details, see the introductory <B>bos</B> reference
62 page.
63 <P><DT><B><B>-localauth</B>
64 </B><DD>Constructs a server ticket using a key from the local
65 <B>/usr/afs/etc/KeyFile</B> file. The <B>bos</B> command
66 interpreter presents the ticket to the BOS Server during mutual
67 authentication. Do not combine this flag with the <B>-cell</B> or
68 <B>-noauth</B> options. For more details, see the introductory
69 <B>bos</B> reference page.
70 <P><DT><B>-help
71 </B><DD>Prints the online help for this command. All other valid options
72 are ignored.
73 </DL>
74 <P><STRONG>Examples</STRONG>
75 <P>The following example removes the users <B>pat</B> and <B>jones</B>
76 from the <B>UserList</B> file on the system control machine
77 <B>fs1.abc.com</B>.
78 <PRE>   % <B>bos removeuser -server fs1.abc.com -user pat jones</B>
79     
80 </PRE>
81 <P><STRONG>Privilege Required</STRONG>
82 <P>The issuer must be listed in the <B>/usr/afs/etc/UserList</B> file on
83 the machine named by the <B>-server</B> argument, or must be logged onto a
84 server machine as the local superuser <B>root</B> if the
85 <B>-localauth</B> flag is included.
86 <P><STRONG>Related Information</STRONG>
87 <P><A HREF="auarf023.htm#HDRKEYFILE">KeyFile</A>
88 <P><A HREF="auarf035.htm#HDRUSERLIST">UserList</A>
89 <P><A HREF="auarf093.htm#HDRBOS_INTRO">bos</A>
90 <P><A HREF="auarf095.htm#HDRBOS_ADDKEY">bos addkey</A>
91 <P><A HREF="auarf107.htm#HDRBOS_LISTKEYS">bos listkeys</A>
92 <P>
93 <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="auarf111.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="auarf113.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> 
94 <!-- Begin Footer Records  ========================================== -->
95 <P><HR><B> 
96 <br>&#169; <A HREF="http://www.ibm.com/">IBM Corporation 2000.</A>  All Rights Reserved 
97 </B> 
98 <!-- End Footer Records  ============================================ -->
99 <A NAME="Bot_Of_Page"></A>
100 </BODY></HTML>