Hi,
It's nice to see a more recently maintained alternative, thanks for that.
One problem with the original pam_ssh_agent_auth, as you are aware, is that the path to the agent socket must be set in the environment. Since sudo would normally clear the variable, we must modify sudo's configuration to leave the variable intact.
Unfortunately, this is not possible in some cases. Two examples are the Display Manager and PolicyKit. polkit provides pkexec, which provides gksu and kdesu, which provide root auth for GUI apps in Gnome and KDE DEs. In these cases, pam_ssh_agent_auth can not be used.
A PR exists to deal with this, by providing a default socket path in the pam configuration. I've been using this patch to get the plugin to work with KDE for some time now and it works very well, the author of the PR uses it for SDDM.
The maintenance state of pam_ssh_agent_auth is concerning so I'd like to try this as a replacement, but I would need a feature like this. I hope you'd be open to the idea?
Path variable expansion would be useful in conjunction with this, but I see from the readme that is already on your radar.
Thanks
Hi,
It's nice to see a more recently maintained alternative, thanks for that.
One problem with the original
pam_ssh_agent_auth, as you are aware, is that the path to the agent socket must be set in the environment. Since sudo would normally clear the variable, we must modify sudo's configuration to leave the variable intact.Unfortunately, this is not possible in some cases. Two examples are the Display Manager and PolicyKit. polkit provides pkexec, which provides gksu and kdesu, which provide root auth for GUI apps in Gnome and KDE DEs. In these cases,
pam_ssh_agent_authcan not be used.A PR exists to deal with this, by providing a default socket path in the pam configuration. I've been using this patch to get the plugin to work with KDE for some time now and it works very well, the author of the PR uses it for SDDM.
The maintenance state of
pam_ssh_agent_authis concerning so I'd like to try this as a replacement, but I would need a feature like this. I hope you'd be open to the idea?Path variable expansion would be useful in conjunction with this, but I see from the readme that is already on your radar.
Thanks