fix-fs-error-string-printing-20010623
[openafs.git] / doc / html / AdminReference / auarf123.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="auarf122.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="auarf124.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_UNINSTALL" HREF="auarf002.htm#ToC_137">bos uninstall</A></H2>
19 <A NAME="IDX4671"></A>
20 <A NAME="IDX4672"></A>
21 <A NAME="IDX4673"></A>
22 <A NAME="IDX4674"></A>
23 <A NAME="IDX4675"></A>
24 <A NAME="IDX4676"></A>
25 <A NAME="IDX4677"></A>
26 <A NAME="IDX4678"></A>
27 <A NAME="IDX4679"></A>
28 <P><STRONG>Purpose</STRONG>
29 <P>Reverts to the former version of a process's binary file
30 <P><STRONG>Synopsis</STRONG>
31 <PRE><B>bos uninstall -server</B> &lt;<VAR>machine&nbsp;name</VAR>>  <B>-file</B> &lt;<VAR>files&nbsp;to&nbsp;uninstall</VAR>><SUP>+</SUP> 
32               [<B>-dir</B> &lt;<VAR>destination&nbsp;dir</VAR>>]  [<B>-cell</B> &lt;<VAR>cell&nbsp;name</VAR>>]  
33               [<B>-noauth</B>]  [<B>-localauth</B>]  [<B>-help</B>]
34    
35 <B>bos u -s</B> &lt;<VAR>machine&nbsp;name</VAR>>  <B>-f</B> &lt;<VAR>files to uninstall</VAR>><SUP>+</SUP>  [<B>-d</B> &lt;<VAR>destination&nbsp;dir</VAR>>] 
36       [<B>-c</B> &lt;<VAR>cell&nbsp;name</VAR>>]  [<B>-n</B>]  [<B>-l</B>]  [<B>-h</B>]
37 </PRE>
38 <P><STRONG>Description</STRONG>
39 <P>The <B>bos uninstall</B> command replaces each binary file specified by
40 the <B>-file</B> argument with its <TT>.BAK</TT>version on the
41 server machine named by the <B>-server</B> argument, which is normally the
42 binary distribution machine for its CPU/operating system type. It also
43 changes the extension on the current <TT>.OLD</TT> version (if any)
44 to <TT>.BAK</TT>. Each binary file must reside in the local
45 <B>/usr/afs/bin</B> directory unless the <B>-dir</B> argument names an
46 alternate directory.
47 <P>To start using the reverted binary immediately, issue the <B>bos
48 restart</B> command. Otherwise, the BOS Server automatically restarts
49 the process at the time defined in the <B>/usr/afs/local/BosConfig</B>
50 file; use the <B>bos getrestart</B> command to display the time and
51 the <B>bos setrestart</B> time to set it.
52 <P><STRONG>Options</STRONG>
53 <DL>
54 <P><DT><B><B>-server</B>
55 </B><DD>Indicates the binary distribution machine on which to revert to the
56 <TT>.BAK</TT> version of binaries. Identify the machine by IP
57 address or its host name (either fully-qualified or abbreviated
58 unambiguously). For details, see the introductory reference page for
59 the <B>bos</B> command suite. 
60 <P>If the machine is not a binary distribution machine and is running an
61 <B>upclientbin</B> process, then the files are overwritten the next time
62 the <B>upclientbin</B> process fetches the corresponding file from the
63 distribution machine (by default within five minutes).
64 <P><DT><B><B>-file</B>
65 </B><DD>Names each binary file to replace with its <TT>.BAK</TT>
66 version.
67 <P><DT><B><B>-dir</B>
68 </B><DD>Provides the complete pathname of the local disk directory containing each
69 file named by the <B>-file</B> argument. It is necessary only if
70 the binaries are not in the <B>/usr/afs/bin</B> directory.
71 <P><DT><B><B>-cell</B>
72 </B><DD>Names the cell in which to run the command. Do not combine this
73 argument with the <B>-localauth</B> flag. For more details, see the
74 introductory <B>bos</B> reference page.
75 <P><DT><B><B>-noauth</B>
76 </B><DD>Assigns the unprivileged identity <B>anonymous</B> to the
77 issuer. Do not combine this flag with the <B>-localauth</B>
78 flag. For more details, see the introductory <B>bos</B> reference
79 page.
80 <P><DT><B><B>-localauth</B>
81 </B><DD>Constructs a server ticket using a key from the local
82 <B>/usr/afs/etc/KeyFile</B> file. The <B>bos</B> command
83 interpreter presents the ticket to the BOS Server during mutual
84 authentication. Do not combine this flag with the <B>-cell</B> or
85 <B>-noauth</B> options. For more details, see the introductory
86 <B>bos</B> reference page.
87 <P><DT><B>-help
88 </B><DD>Prints the online help for this command. All other valid options
89 are ignored.
90 </DL>
91 <P><STRONG>Examples</STRONG>
92 <P>The following example command overwrites the
93 <B>/usr/afs/bin/kaserver</B> file on the machine
94 <B>fs4.abc.com</B> with its <TT>.BAK</TT>version,
95 and the current <TT>.BAK</TT> version by the
96 <TT>.OLD</TT>version.
97 <PRE>   % <B>bos uninstall -server fs4.abc.com -file kaserver</B>
98    
99 </PRE>
100 <P><STRONG>Privilege Required</STRONG>
101 <P>The issuer must be listed in the <B>/usr/afs/etc/UserList</B> file on
102 the machine named by the <B>-server</B> argument, or must be logged onto a
103 server machine as the local superuser <B>root</B> if the
104 <B>-localauth</B> flag is included.
105 <P><STRONG>Related Information</STRONG>
106 <P><A HREF="auarf016.htm#HDRBOSCONFIG">BosConfig</A>
107 <P><A HREF="auarf023.htm#HDRKEYFILE">KeyFile</A>
108 <P><A HREF="auarf035.htm#HDRUSERLIST">UserList</A>
109 <P><A HREF="auarf093.htm#HDRBOS_INTRO">bos</A>
110 <P><A HREF="auarf103.htm#HDRBOS_GETRESTART">bos getrestart</A>
111 <P><A HREF="auarf113.htm#HDRBOS_RESTART">bos restart</A>
112 <P><A HREF="auarf117.htm#HDRBOS_SETRESTART">bos setrestart</A>
113 <P><A HREF="auarf240.htm#HDRUPCLIENT">upclient</A>
114 <P>
115 <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="auarf122.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="auarf124.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> 
116 <!-- Begin Footer Records  ========================================== -->
117 <P><HR><B> 
118 <br>&#169; <A HREF="http://www.ibm.com/">IBM Corporation 2000.</A>  All Rights Reserved 
119 </B> 
120 <!-- End Footer Records  ============================================ -->
121 <A NAME="Bot_Of_Page"></A>
122 </BODY></HTML>