3 bos_setauth - Sets authorization checking requirements for all server processes
10 B<bos setauth> S<<< B<-server> <I<machine name>> >>> S<<< B<-authrequired> (on | off) >>>
11 S<<< [B<-cell> <I<cell name>>] >>> [B<-noauth>] [B<-localauth>] [B<-help>]
13 B<bos seta> S<<< B<-s> <I<machine name>> >>> S<<< B<-a> (on | off) >>>
14 S<<< [B<-c> <I<cell name>>] >>> [B<-n>] [B<-l>] [B<-h>]
21 The B<bos setauth> command enables or disables authorization checking on
22 the server machine named by the B<-server> argument. When authorization
23 checking is enabled (the normal case), the AFS server processes running on
24 the machine verify that the issuer of a command meets its privilege
25 requirements. When authorization checking is disabled, server processes
26 perform any action for anyone, including the unprivileged user
27 C<anonymous>; this security exposure precludes disabling of authorization
28 checking except during installation or emergencies.
30 To indicate to the server processes that authorization checking is
31 disabled, the BOS Server creates the zero-length file
32 F</usr/afs/local/NoAuth> on its local disk. All AFS server processes
33 constantly monitor for the F<NoAuth> file's presence and do not check for
34 authorization when it is present. The BOS Server removes the file when
35 this command is used to re-enable authorization checking.
39 Do not create the F<NoAuth> file directly, except when directed by
40 instructions for dealing with emergencies (doing so requires being logged
41 in as the local superuser C<root>). Use this command instead.
47 =item B<-server> <I<machine name>>
49 Indicates the server machine on which to enable or disable authorization
50 checking. Identify the machine by IP address or its host name (either
51 fully-qualified or abbreviated unambiguously). For details, see L<bos(8)>.
53 =item B<-authrequired> (on | off)
55 Enables authorization checking if the value is C<on>, or disables it if
58 =item B<-cell> <I<cell name>>
60 Names the cell in which to run the command. Do not combine this argument
61 with the B<-localauth> flag. For more details, see L<bos(8)>.
65 Assigns the unprivileged identity C<anonymous> to the issuer. Do not
66 combine this flag with the B<-localauth> flag. For more details, see
71 Constructs a server ticket using a key from the local
72 F</usr/afs/etc/KeyFile> or F</usr/afs/etc/KeyFileExt> file.
73 The B<bos> command interpreter presents the
74 ticket to the BOS Server during mutual authentication. Do not combine this
75 flag with the B<-cell> or B<-noauth> options. For more details, see
80 Prints the online help for this command. All other valid options are
87 The following example disables authorization checking on the machine
90 % bos setauth -server fs7.example.com -authrequired off
92 =head1 PRIVILEGE REQUIRED
94 The issuer must be listed in the F</usr/afs/etc/UserList> file on the
95 machine named by the B<-server> argument, or must be logged onto a server
96 machine as the local superuser C<root> if the B<-localauth> flag is
110 IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
112 This documentation is covered by the IBM Public License Version 1.0. It was
113 converted from HTML to POD by software written by Chas Williams and Russ
114 Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.