Initial IBM OpenAFS 1.0 tree
[openafs.git] / src / WINNT / doc / install / Documentation / en_US / html / CmdRef / auarf100.htm
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3//EN">
2 <HTML><HEAD>
3 <TITLE>Administration Reference</TITLE>
4 <!-- Begin Header Records  ========================================== -->
5 <!-- /tmp/idwt3190/auarf000.scr converted by idb2h R4.2 (359) ID      -->
6 <!-- Workbench Version (AIX) on 5 Nov 1999 at 13:58:29                -->
7 <META HTTP-EQUIV="updated" CONTENT="Fri, 05 Nov 1999 13:58:29">
8 <META HTTP-EQUIV="review" CONTENT="Sun, 05 Nov 2000 13:58:29">
9 <META HTTP-EQUIV="expires" CONTENT="Mon, 05 Nov 2001 13:58: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="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> 
17 <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> &lt;<VAR>machine&nbsp;name</VAR>>  <B>-cmd</B> &lt;<VAR>command to execute</VAR>>
28          [<B>-cell</B> &lt;<VAR>cell&nbsp;name</VAR>>]  [<B>-noauth</B>]  [<B>-localauth</B>]  [<B>-help</B>]
29    
30 <B>bos e -s</B> &lt;<VAR>machine&nbsp;name</VAR>>  <B>-cm</B> &lt;<VAR>command to execute</VAR>>  [<B>-ce</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 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
37 equivalent.
38 <P><STRONG>Options</STRONG>
39 <DL>
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.
45 <P><DT><B><B>-cmd</B>
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
57 page.
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.
65 <P><DT><B>-help
66 </B><DD>Prints the online help for this command. All other valid options
67 are ignored.
68 </DL>
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>
74    
75 </PRE>
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>
83 <P>
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  ========================================== -->
86 <P><HR><B> 
87 <br>&#169; <A HREF="http://www.ibm.com/">IBM Corporation 2000.</A>  All Rights Reserved 
88 </B> 
89 <!-- End Footer Records  ============================================ -->
90 <A NAME="Bot_Of_Page"></A>
91 </BODY></HTML>