security: document root-trust watchdog

This commit is contained in:
inference-admin committed 2026-11-20 00:50:00 +00:00
1 parent 3d4fac124d
commit 86012fc879
1 file changed
+2
+2
View File
@@ -30,6 +30,8 @@ The root-owned backup script still resolves `restic` from `/usr/local/bin/restic
This requires root outside the agent; the restricted sudo policy does not grant it. Treat the backup timer as privileged until fixed. This requires root outside the agent; the restricted sudo policy does not grant it. Treat the backup timer as privileged until fixed.
A daily root-trust watchdog (cron `82130f968506`, `check_root_trust.py`) stays silent when healthy and alerts if broad sudo returns, the root backup script starts trusting agent files again, or `/usr/local/bin/restic` is not root-owned.
## Recovery (operator only) ## Recovery (operator only)
The pre-change cloud-init sudoers file is preserved at `/root/sudoers-cloud-init.bak` (0600). Restoring it requires root access outside the agent, e.g. the provider console. Do not expose it to the agent. The pre-change cloud-init sudoers file is preserved at `/root/sudoers-cloud-init.bak` (0600). Restoring it requires root access outside the agent, e.g. the provider console. Do not expose it to the agent.