3 fs_setcell - Configures permissions for setuid programs from specified cells
10 B<fs setcell> S<<< B<-cell> <I<cell name>>+ >>> [B<-suid>] [B<-nosuid>] [B<-help>]
12 B<fs setce> S<<< B<-c> <I<cell name>>+ >>> [B<-s>] [B<-n>] [B<-h>]
19 The B<fs setcell> command sets whether the Cache Manager allows programs
20 (and other executable files) from each cell named by the B<-cell> argument
21 to run with setuid permission. By default, the Cache Manager allows
22 programs from its home cell to run with setuid permission, but not
23 programs from any foreign cells. A program belongs to the same cell as the
24 file server machine that houses the volume in which the program's binary
25 file resides, as specified in the file server machine's
26 F</usr/afs/etc/ThisCell> file. The Cache Manager determines its own home
27 cell by reading the F</usr/vice/etc/ThisCell> file at initialization.
29 To enable programs from each specified cell to run with setuid permission,
30 include the B<-suid> flag. To prohibit programs from running with setuid
31 permission, include the B<-nosuid> flag, or omit both flags.
33 The B<fs setcell> command directly alters a cell's setuid status as
34 recorded in kernel memory, so rebooting the machine is unnecessary.
35 However, non-default settings do not persist across reboots of the machine
36 unless the appropriate B<fs setcell> command appears in the machine's AFS
39 To display a cell's setuid status, issue the B<fs getcellstatus> command.
43 AFS does not recognize effective UID: if a setuid program accesses AFS
44 files and directories, it does so using the current AFS identity of the
45 AFS user who initialized the program, not of the program's owner. Only
46 the local file system recognizes effective UID.
48 Only members of the system:administrators group can turn on the setuid
49 mode bit on an AFS file or directory.
51 When the setuid mode bit is turned on, the UNIX C<ls -l> command displays
52 the third user mode bit as an C<s> instead of an C<x>. However, the C<s>
53 does not appear on an AFS file or directory unless setuid permission is
54 enabled for the cell in which the file resides.
60 =item B<-cell> <I<cell name>>+
62 Names each cell for which to set setuid status. Provide the fully
63 qualified domain name, or a shortened form that disambiguates it from the
64 other cells listed in the local F</usr/vice/etc/CellServDB> file.
68 Allows programs from each specified cell to run with setuid
69 privilege. Provide it or the B<-nosuid> flag, or omit both flags to
70 disallow programs from running with setuid privilege.
74 Prevents programs from each specified cell from running with setuid
75 privilege. Provide it or the B<-suid> flag, or omit both flags to disallow
76 programs form running with setuid privilege.
80 Prints the online help for this command. All other valid options are
87 The following command enables executable files from the State University
88 cell to run with setuid privilege on the local machine:
90 % fs setcell -cell stateu.edu -suid
92 =head1 PRIVILEGE REQUIRED
94 The issuer must be logged in as the local superuser root.
98 L<fs_getcellstatus(1)>
102 IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
104 This documentation is covered by the IBM Public License Version 1.0. It was
105 converted from HTML to POD by software written by Chas Williams and Russ
106 Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.