It’s just a small wish…
As a user I really like using security.pam.sshAgentAuth.
This makes authenticating on “sudo related stuff” really effortless (depends on how you configure your SSH_AUTH_SOCK I guess) weather it’s local or remote ssh!
However this falls short whenever I do a systemd related authentication like systemctl restart xyz.service. Now it’s prompting me to type a password instead a PAM module kicking in and now I feel like I’m back to before knowing PAM!
I know that I can add sudo in front of the command to fix that but … I just do not enjoy a password prompt (especially if it’s in the terminal itself like in case of a SSHed remote machine).
Before I wish this can be better, I may be not aware of how to do this in the current form although I tried to find a way and couldn’t.