openafs/doc/html/AdminReference/auarf123.htm

123 lines
6.7 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="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>
<P>
<H2><A NAME="HDRBOS_UNINSTALL" HREF="auarf002.htm#ToC_137">bos uninstall</A></H2>
<A NAME="IDX4671"></A>
<A NAME="IDX4672"></A>
<A NAME="IDX4673"></A>
<A NAME="IDX4674"></A>
<A NAME="IDX4675"></A>
<A NAME="IDX4676"></A>
<A NAME="IDX4677"></A>
<A NAME="IDX4678"></A>
<A NAME="IDX4679"></A>
<P><STRONG>Purpose</STRONG>
<P>Reverts to the former version of a process's binary file
<P><STRONG>Synopsis</STRONG>
<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>
[<B>-dir</B> &lt;<VAR>destination&nbsp;dir</VAR>>] [<B>-cell</B> &lt;<VAR>cell&nbsp;name</VAR>>]
[<B>-noauth</B>] [<B>-localauth</B>] [<B>-help</B>]
<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>>]
[<B>-c</B> &lt;<VAR>cell&nbsp;name</VAR>>] [<B>-n</B>] [<B>-l</B>] [<B>-h</B>]
</PRE>
<P><STRONG>Description</STRONG>
<P>The <B>bos uninstall</B> command replaces each binary file specified by
the <B>-file</B> argument with its <TT>.BAK</TT>version on the
server machine named by the <B>-server</B> argument, which is normally the
binary distribution machine for its CPU/operating system type. It also
changes the extension on the current <TT>.OLD</TT> version (if any)
to <TT>.BAK</TT>. Each binary file must reside in the local
<B>/usr/afs/bin</B> directory unless the <B>-dir</B> argument names an
alternate directory.
<P>To start using the reverted binary immediately, issue the <B>bos
restart</B> command. Otherwise, the BOS Server automatically restarts
the process at the time defined in the <B>/usr/afs/local/BosConfig</B>
file; use the <B>bos getrestart</B> command to display the time and
the <B>bos setrestart</B> time to set it.
<P><STRONG>Options</STRONG>
<DL>
<P><DT><B><B>-server</B>
</B><DD>Indicates the binary distribution machine on which to revert to the
<TT>.BAK</TT> version of binaries. Identify the machine by IP
address or its host name (either fully-qualified or abbreviated
unambiguously). For details, see the introductory reference page for
the <B>bos</B> command suite.
<P>If the machine is not a binary distribution machine and is running an
<B>upclientbin</B> process, then the files are overwritten the next time
the <B>upclientbin</B> process fetches the corresponding file from the
distribution machine (by default within five minutes).
<P><DT><B><B>-file</B>
</B><DD>Names each binary file to replace with its <TT>.BAK</TT>
version.
<P><DT><B><B>-dir</B>
</B><DD>Provides the complete pathname of the local disk directory containing each
file named by the <B>-file</B> argument. It is necessary only if
the binaries are not in the <B>/usr/afs/bin</B> directory.
<P><DT><B><B>-cell</B>
</B><DD>Names the cell in which to run the command. Do not combine this
argument with the <B>-localauth</B> flag. For more details, see the
introductory <B>bos</B> reference page.
<P><DT><B><B>-noauth</B>
</B><DD>Assigns the unprivileged identity <B>anonymous</B> to the
issuer. Do not combine this flag with the <B>-localauth</B>
flag. For more details, see the introductory <B>bos</B> reference
page.
<P><DT><B><B>-localauth</B>
</B><DD>Constructs a server ticket using a key from the local
<B>/usr/afs/etc/KeyFile</B> file. The <B>bos</B> command
interpreter presents the ticket to the BOS Server during mutual
authentication. Do not combine this flag with the <B>-cell</B> or
<B>-noauth</B> options. For more details, see the introductory
<B>bos</B> reference page.
<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 command overwrites the
<B>/usr/afs/bin/kaserver</B> file on the machine
<B>fs4.abc.com</B> with its <TT>.BAK</TT>version,
and the current <TT>.BAK</TT> version by the
<TT>.OLD</TT>version.
<PRE> % <B>bos uninstall -server fs4.abc.com -file kaserver</B>
</PRE>
<P><STRONG>Privilege Required</STRONG>
<P>The issuer must be listed in the <B>/usr/afs/etc/UserList</B> file on
the machine named by the <B>-server</B> argument, or must be logged onto a
server machine as the local superuser <B>root</B> if the
<B>-localauth</B> flag is included.
<P><STRONG>Related Information</STRONG>
<P><A HREF="auarf016.htm#HDRBOSCONFIG">BosConfig</A>
<P><A HREF="auarf023.htm#HDRKEYFILE">KeyFile</A>
<P><A HREF="auarf035.htm#HDRUSERLIST">UserList</A>
<P><A HREF="auarf093.htm#HDRBOS_INTRO">bos</A>
<P><A HREF="auarf103.htm#HDRBOS_GETRESTART">bos getrestart</A>
<P><A HREF="auarf113.htm#HDRBOS_RESTART">bos restart</A>
<P><A HREF="auarf117.htm#HDRBOS_SETRESTART">bos setrestart</A>
<P><A HREF="auarf240.htm#HDRUPCLIENT">upclient</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="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>
<!-- 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>