security: document bot-scoped steward access and key-only operator root

Rewrite the host-access runbook for the installed model: ubuntu may sudo into the bot accounts and run the docs/backup allowlist but has no root; operator holds NOPASSWD:ALL via its own SSH key; root SSH stays closed. Record the closed backup root path, the silent watchdog, verification commands, safe-mode recovery, and rollback. Update the fleet and backup pages to match.
This commit is contained in:
inference-bot committed 2026-11-21 16:08:20 +00:00
1 parent f63096d4dc
commit cd5960f62d
4 files changed
+154 -27

No files matched your search

+14 -3
View File
@@ -21,9 +21,10 @@ app) that all three draw on — the agent host runs no gateway of its own.
### Who is who (do not conflate them)
- **Inferencebot** is the **steward** and the fleet administrator: full Cloudron
token, gateway master key, member-data plumbing. Root access is restricted to
the docs/backup service commands in `maintenance/host-access.md`; it is NOT a
member-facing chat persona.
token, gateway master key, member-data plumbing. It can act inside the bot
accounts (`sudo -iu socialbot`, and so on) and run the docs/backup service
commands in `maintenance/host-access.md`, but it has **no root**. Root belongs
to the separate `operator` account; it is NOT a member-facing chat persona.
- **infrastructure-bot** is a **lower-privileged** infrastructure agent. Per its
own SOUL it has **no sudo, no Cloudron admin token, and no member data**; when a
task needs more privilege it hands up to the steward rather than working around
@@ -32,6 +33,16 @@ app) that all three draw on — the agent host runs no gateway of its own.
Matrix rooms; its only writable surface is the `#social-drafts` room, and it
**never publishes an unapproved draft** — silence is its correct failure mode.
## Fleet access
- **Bots have no sudo.** Each bot account carries `ALL=(ALL) !ALL`; its home is
mode `0700` and owned by the bot.
- **The steward can enter bot accounts**, and that is how fleet maintenance
happens: `sudo -iu <bot> ...`. It cannot enter root.
- **Root is a human door.** SSH as `operator` with a key, then `sudo -i`. Root
SSH login stays closed, and no account has a password login. The account and
its sudoers rules are documented in `maintenance/host-access.md`.
## Working-group bots — one Unix user each
**Policy (2026-11-17; supersedes the tier-2 profile plan in co-op/support#33).**