bos_setrestricted - place a server in restricted mode
bos setrestricted -server <machine name> -mode (0 | 1) [-cell <cell name>] [-noauth] [-localauth] [-principal <authentication principal> [-encrypt [<yes|no>]] [-config <configuration file>] [-help]
The bos setrestricted command places the server in restricted mode. This mode increases the security of the bos server by removing access to a number of bos commands that are only used whilst configuring a system.
When a server is in restricted mode, access to bos_exec, bos uninstall, bos install, bos create, bos delete, bos prune is denied, and the use of bos getlog is limited.
Once a server has been placed in restricted mode, it may not be opened up again using a remote command. That is, bos setrestricted has no method of placing the server in unrestricted mode. Once a server is restricted, it can only be opened up again by sending it a SIGFPE, which must be done as root on the local machine.
Indicates the server machine to restrict.
Indicates whether to turn restricted mode off or on. Pass a 1 to turn restricted mode on, and pass a 0 to turn restricted mode off. The latter will only work if the server is already running in unrestricted mode, and thus won't do anything immediately, but can be used to change the corresponding entry in BosConfig(5).
Names the cell in which to run the command. Do not combine this argument with the -localauth flag. For more details, see bos(8).
Assigns the unprivileged identity
anonymous to the issuer.
Do not combine this flag with the -localauth flag.
For more details,
Constructs a server ticket using a key from the local /etc/yfs/server/KeyFileExt file. The bos command interpreter presents the ticket to the BOS Server during mutual authentication. Do not combine this flag with the -cell or -noauth options. For more details, see bos(8).
Indicates the principal to be used for authentication. This option can be useful when several credentials caches are available for different principals.
Enables or disables encryption for the command so that the operation's results are not transmitted across the network in clear text.
Produces on the standard output stream a detailed trace of the command's execution. If this argument is omitted, only warnings and error messages appear.
Sets the location of the configuration file to be used. The default file is /etc/yfs/yfs-client.conf.
Prints the online help for this command. All other valid options are ignored.
The issuer must be listed in the /etc/yfs/server/UserListExt file on the machine named by the -server argument, or must be logged onto a server with an account capable of reading the /etc/yfs/server/KeyFileExt file if the -localauth flag is included.
As noted above, this command cannot be run against servers which are already in restricted mode.
BosConfig(5), bos(8), bos_getrestricted(8)
Copyright 2009 Simon Wilkinson <email@example.com>
This documentation is covered by the BSD License as written in the doc/LICENSE file. This man page was written by Simon Wilkinson for OpenAFS.
"AFS" is a registered mark of International Business Machines Corporation, used under license. (USPTO Registration 1598389)
"OpenAFS" is a registered mark of International Business Machines Corporation. (USPTO Registration 4577045)
The "AuriStor" name, log 'S' brand mark, and icon are registered marks of AuriStor, Inc. (USPTO Registrations 4849419, 4849421, and 4928460) (EUIPO Registration 015539653).
"Your File System" is a registered mark of AuriStor, Inc. (USPTO Registrations 4801402 and 4849418).
"YFS" and "AuriStor File System" are trademarks of AuriStor, Inc.