-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pam_touchid appears to break sudo over SSH #2
Comments
Interesting, I hadn't thought of that. Does it work if you add something like:
to the very top of I can't test it at the moment, but hopefully that will make it fallback to the default authentication method when run from ssh (assuming you kept the opendirectory line intact in the ssh pam.d entry) |
Just tested it. I can confirm it works. |
I think also that |
@cqexbesd what if I have a GUI app that spawns a sudo command? Will I see the XPC_SERVICE_NAME then? |
@hamzasood |
Looks like this project may be abandoned, sadly... in the meantime, @BenKesselring has a fork with this bug fixed: https://github.com/BenKesselring/pam_touchid/ |
@caesar didn't have a chance to check, did he include |
@AdnanHodzic yes. He also opened a PR (#4) to merge that fix into this project but @hamzasood unfortunately never merged it. |
I haven't fully tested this scenario, but at first pass, it seems like
pam_touchid
prevents a remote SSH user from using sudo on a Mac withpam_touchid
installed. The GUI prompt appears and never gives up without GUI user input.Are there some possible mitigations here?
The text was updated successfully, but these errors were encountered: