BOS_SETRESTRICTED(8)
π BOS_SETRESTRICTED π
okay bestie, so this one is bos_setrestricted β it lives in section 8 of the AFS Command Reference, and it's the little command that locks your server the heck down. π
β¨ NAME β¨
bos_setrestricted β literally just: put a server into restricted mode. that's the whole job. no cap. π
β¨ SYNOPSIS β¨
bos setrestricted -server <machine name> -mode (0 | 1)
[-cell <cell name>] [-noauth] [-localauth] [-help]
look at her. so simple. so powerful. π¦
β¨ DESCRIPTION β¨
so bos setrestricted drops the server into restricted mode, and the vibe is maximum security. it makes the bos server safer by cutting off access to a whole bunch of bos commands β specifically the ones you'd only ever need while you're setting a system up in the first place. π«
once a server is in restricted mode, access to these is denied, periodt:
bos_execbos uninstallbos installbos createbos deletebos prune
and bos getlog? also limited. it's giving locked doors energy. π
β οΈ CAUTIONS β οΈ
okay this is the part where i need you to actually listen, bestie. π
once a server has been placed in restricted mode, it may not be opened up again using a remote command. like, bos setrestricted has no method of placing the server in unrestricted mode. none. zero. it is a one-way door. π
if a server is restricted and you want it open again, the only way is to send it a SIGFPE, and that must be done as root on the local machine. that's it. that's the escape hatch. do not lose the key. π
β¨ OPTIONS β¨
-server<machine name> β tells it which server machine to restrict. point at the victimβsorry, the patient. π«Ά-mode<mode> β decides whether restricted mode goes off or on. pass a1to turn restricted mode on, and pass a0to turn restricted mode off. heads up though: that0will only work if the server is already running in unrestricted mode β so it won't actually do anything immediately, but you can use it to change the corresponding entry inBosConfig(5). β¨-cell<cell name> β names the cell to run the command in. do not combine this argument with the-localauthflag. more deets inbos(8). πΈ-noauthβ assigns the unprivileged identity"anonymous"to the issuer. do not combine this flag with the-localauthflag. more deets inbos(8). π-localauthβ constructs a server ticket using a key from the local/etc/openafs/server/KeyFilefile. the bos command interpreter presents that ticket to the BOS Server during mutual authentication. do not combine this flag with the-cellor-noauthoptions. more deets inbos(8). π-helpβ prints the online help for this command. all other valid options are ignored. the classic. π
π PRIVILEGE REQUIRED π
you gotta have the credentials, bestie. the issuer must be listed in the /etc/openafs/server/UserList file on the machine named by the -server argument β or must be logged in as the local superuser "root" if the -localauth flag is included. π
and, as noted up above: this command cannot be run against servers which are already in restricted mode. sorry babe, door's closed. πͺ
π SEE ALSO π
go read those, iykyk. β
π COPYRIGHT π
Copyright 2009 Simon Wilkinson <simon@sxw.org.uk>
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.
and that's the whole page, bestie!! π©· this icon of a man page came to you from OpenAFS, dated 2026-07-27, and it absolutely ate. stay restricted, stay safe, mwah πβ¨
π¦ where this page comes from
- ubuntu stonking: openafs-client 1.8.16.1-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms