Conversation

I'm not saying the daemon approach is fundamentally flawed, but it changes many assumptions that have been established with sudo. And if it's about creating a replacement for sudo, please consider those instead of telling me how my opinion doesn't matter.
1
1
sshd with a restricted shell is essentially already an implementation of this. The concept of a restricted shell is the same very flawed approach as sudo policy and can have the same kind of logging. You can make sshd listen on a Unix socket via the inherited fd support.
2
2
in our case, the primary goal is to enable maintainer scripts that need privilege escalation to continue working (e.g. to restart a service), when sudo is removed from main. while we will support something like `sudo -si` I agree with you that SSH keys are more appropriate