fix: restrict runner log ACL across rotation
This commit is contained in:
1 parent
73aa147881
commit
7701e77b3d
7 files changed
+102
-9
No files matched your search
@@ -22,9 +22,12 @@ checks. Never print a private key, token, or complete environment file.
|
||||
- SSH alias: `akyldash_vps`, user `codex`, host `206.223.249.118`, port `22`.
|
||||
- SSH configuration: `~/.ssh/config`.
|
||||
- Identity file: `~/.ssh/akyldash_codex` (path only; never copy its contents).
|
||||
- `codex` can run unprivileged read-only diagnostics. It has no sudo or Docker
|
||||
group membership; Docker CLI access to the daemon is denied. Do not add it to
|
||||
either group.
|
||||
- `codex` can run unprivileged read-only diagnostics and read
|
||||
`/var/log/akyldash-runner/act_runner.log` through a file ACL. It has no sudo
|
||||
or Docker group membership; Docker CLI access to the daemon is denied. Do not
|
||||
add it to either group. The runner installer in PR #46 narrows this to search
|
||||
permission on the dedicated log directory and read permission on that one
|
||||
file, preserved by systemd startup and logrotate hooks.
|
||||
- Bootstrap is complete. Docker and Compose are active, but no root-owned
|
||||
repository checkout or restricted helper is installed yet. The owner can run
|
||||
`infra/bootstrap/audit-host.sh` from the reviewed root-owned checkout to
|
||||
|
||||
Reference in new issue
Block a user