Repository navigation
v0.2.0 — phase 1.5: privileged rules
Phase 1.5: pre-authorized root verbs — the routine you'd automate anyway (enumerated write, validate, reload) runs unattended, root included, but only through exact actions the operator wrote down.
- Privileged rules execute as root via exact-argv sudo grants written and validated by
sysh policy install: no wildcards, noALL, noNOPASSWD:beyond the enumerated argv;no_new_privsstays on; execution happens in per-exec systemd scopes with journald + auditd events carryingPRIV=true— the record exists on both sides of the elevation - Privileged timeouts via sudoers
TIMEOUTplus a gateway grace kill, so a hanging root verb dies at the boundary the operator set sysh doctorgains the--allow-groupsopt-in check (secondary groups for thesyuser), and a Wazuh agent ruleset profile is documented for SIEM shippingexamples/webserver: a worked agent-maintained web server — Apache and fail2ban config, logs, validate, reload — with the OS-side setup and the honest limits spelled out- Project website with emulated session replays (an agent session and a plain-
sshsession, same bounds and same record)
Honest limits: per-exec approvals still deferred (privileged-adjacent argv without a grant refuses at exit 126); no seccomp yet; amd64 only. The approval channel — root the agent can only ask for — is in main for v0.3.0.
curl -LO https://github.com/xezpeleta/sysh/releases/download/v0.2.0/sysh_0.2.0_amd64.deb
apt install ./sysh_0.2.0_amd64.deb
sysh doctor