https://gist.github.com/pothos/73dd4f7694acc3b6bbed614438f6e...
Since polkit is used (but not the setuid pkexec, this was the point of this exercise) there is still one setuid binary invoked for the PAM check, though.
https://gist.github.com/pothos/73dd4f7694acc3b6bbed614438f6e...
Since polkit is used (but not the setuid pkexec, this was the point of this exercise) there is still one setuid binary invoked for the PAM check, though.
> If a command is run as transient scope unit, it will be executed by systemd-run itself as parent process and will thus inherit the execution environment of the caller. (...) This mode is enabled via the --scope switch
By comparison, the manual to doas.conf is pretty short: https://man.openbsd.org/doas.conf.5
It seems like OpenBSD was also stuck on an older version of sudo when it was removed. It's possible they just weren't having all the churn of such a large tool? But then they also missed a bunch of important fixes: https://marc.info/?l=openbsd-bugs&m=142270265216628&w=2
More: https://marc.info/?l=openbsd-ports&m=143465998814989&w=2