systemd: port to Go, and read a system unit's journal as root
The journal verb ran journalctl as the operator account, which outside the journal's group sees only its own entries: every system service read '-- No entries --', and a person reached for a shell. The read now escalates with sudo -n like the acts; ported to Go with every test. hq issue 255.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
module systemd-tools
|
||||
|
||||
go 1.25.0
|
||||
|
||||
require git.novox.be/novox/mesh-sdk/go v0.1.7
|
||||
Reference in New Issue
Block a user