3 bos_setrestricted - place a server in restricted mode
10 B<bos setrestricted> S<<< B<-server> <I<machine name>> >>> S<<< B<-mode> (0 | 1) >>>
11 S<<< [B<-cell> <I<cell name>>] >>> [B<-noauth>] [B<-localauth>] [B<-help>]
18 The B<bos setrestricted> command places the server in restricted mode. This
19 mode increases the security of the bos server by removing access to a
20 number of bos commands that are only used whilst configuring a system.
22 When a server is in restricted mode, access to B<bos_exec>, B<bos uninstall>,
23 B<bos install>, B<bos create>, B<bos delete>, B<bos prune>
24 is denied, and the use of B<bos getlog> is limited.
28 Once a server has been placed in restricted mode, it may not be opened up
29 again using a remote command. That is, B<bos setrestricted> has no method
30 of placing the server in unrestricted mode. Once a server is restricted,
31 it can only be opened up again by sending it a SIGFPE, which must be done
32 as root on the local machine.
38 =item B<-server> <I<machine name>>
40 Indicates the server machine to restrict.
42 =item B<-mode> <I<mode>>
44 Indicates whether to turn restricted mode off or on. Pass a 1 to turn
45 restricted mode on, and pass a 0 to turn restricted mode off. The latter
46 will only work if the server is already running in unrestricted mode, and
47 thus won't do anything immediately, but can be used to change the
48 corresponding entry in L<BosConfig(5)>.
50 =item B<-cell> <I<cell name>>
52 Names the cell in which to run the command. Do not combine this argument
53 with the B<-localauth> flag. For more details, see L<bos(8)>.
57 Assigns the unprivileged identity C<anonymous> to the issuer. Do not
58 combine this flag with the B<-localauth> flag. For more details, see
63 Constructs a server ticket using a key from the local
64 F</usr/afs/etc/KeyFile> file. The B<bos> command interpreter presents the
65 ticket to the BOS Server during mutual authentication. Do not combine this
66 flag with the B<-cell> or B<-noauth> options. For more details, see
71 Prints the online help for this command. All other valid options are
76 =head1 PRIVILEGE REQUIRED
78 The issuer must be listed in the F</usr/afs/etc/UserList> file on the
79 machine named by the B<-server> argument, or must be logged in as the
80 local superuser C<root> if the B<-localauth> flag is included.
82 As noted above, this command cannot be run against servers which are
83 already in restricted mode.
89 L<bos_getrestricted(8)>
93 Copyright 2009 Simon Wilkinson <simon@sxw.org.uk>
95 This documentation is covered by the BSD License as written in the
96 doc/LICENSE file. This man page was written by Simon Wilkinson for