1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 4//EN">
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">
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="auarf099.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="auarf101.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>
18 <H2><A NAME="HDRBOS_EXEC" HREF="auarf002.htm#ToC_114">bos exec</A></H2>
19 <A NAME="IDX4511"></A>
20 <A NAME="IDX4512"></A>
21 <A NAME="IDX4513"></A>
22 <A NAME="IDX4514"></A>
23 <A NAME="IDX4515"></A>
24 <P><STRONG>Purpose</STRONG>
25 <P>Executes a command on a remote server machine
26 <P><STRONG>Synopsis</STRONG>
27 <PRE><B>bos exec -server</B> <<VAR>machine name</VAR>> <B>-cmd</B> <<VAR>command to execute</VAR>>
28 [<B>-cell</B> <<VAR>cell name</VAR>>] [<B>-noauth</B>] [<B>-localauth</B>] [<B>-help</B>]
30 <B>bos e -s</B> <<VAR>machine name</VAR>> <B>-cm</B> <<VAR>command to execute</VAR>> [<B>-ce</B> <<VAR>cell name</VAR>>]
31 [<B>-n</B>] [<B>-l</B>] [<B>-h</B>]
33 <P><STRONG>Description</STRONG>
34 <P>The <B>bos exec</B> command executes the indicated command on the file
35 server machine named by the <B>-server</B> argument. Its intended
36 use is to reboot the machine, using the <B>/etc/reboot</B> command or
38 <P><STRONG>Options</STRONG>
40 <P><DT><B><B>-server</B>
41 </B><DD>Indicates the server machine on which to execute the command.
42 Identify the machine by IP address or its host name (either fully-qualified or
43 abbreviated unambiguously). For details, see the introductory reference
44 page for the <B>bos</B> command suite.
46 </B><DD>Specifies the complete local disk pathname of the command to execute (for
47 example, <B>/etc/reboot</B>). Surround this argument with double
48 quotes ("") if the command contains one or more spaces.
49 <P><DT><B><B>-cell</B>
50 </B><DD>Names the cell in which to run the command. Do not combine this
51 argument with the <B>-localauth</B> flag. For more details, see the
52 introductory <B>bos</B> reference page.
53 <P><DT><B><B>-noauth</B>
54 </B><DD>Assigns the unprivileged identity <B>anonymous</B> to the
55 issuer. Do not combine this flag with the <B>-localauth</B>
56 flag. For more details, see the introductory <B>bos</B> reference
58 <P><DT><B><B>-localauth</B>
59 </B><DD>Constructs a server ticket using a key from the local
60 <B>/usr/afs/etc/KeyFile</B> file. The <B>bos</B> command
61 interpreter presents the ticket to the BOS Server during mutual
62 authentication. Do not combine this flag with the <B>-cell</B> or
63 <B>-noauth</B> options. For more details, see the introductory
64 <B>bos</B> reference page.
66 </B><DD>Prints the online help for this command. All other valid options
69 <P><STRONG>Examples</STRONG>
70 <P>The following command reboots the machine
71 <B>fs2.abc.com</B>. The issuer has previously issued
72 the <B>bos shutdown</B> command to shutdown all processes cleanly.
73 <PRE> % <B>bos exec -server fs2.abc.com -cmd /sbin/shutdown -r now</B>
76 <P><STRONG>Privilege Required</STRONG>
77 <P>The issuer must be listed in the <B>/usr/afs/etc/UserList</B> file on
78 the machine named by the <B>-server</B> argument, or must be logged onto a
79 server machine as the local superuser <B>root</B> if the
80 <B>-localauth</B> flag is included.
81 <P><STRONG>Related Information</STRONG>
82 <P><A HREF="auarf093.htm#HDRBOS_INTRO">bos</A>
84 <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="auarf099.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="auarf101.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>
85 <!-- Begin Footer Records ========================================== -->
87 <br>© <A HREF="http://www.ibm.com/">IBM Corporation 2000.</A> All Rights Reserved
89 <!-- End Footer Records ============================================ -->
90 <A NAME="Bot_Of_Page"></A>