-
-
Notifications
You must be signed in to change notification settings - Fork 493
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
Update security.pam.enableSudoTouchIdAuth
for Sonoma+
#1109
Comments
I think this could be easily accomplished by making |
pam.security.security.pam.enableSudoTouchIdAuth
for Sonoma+security.pam.enableSudoTouchIdAuth
for Sonoma+
Yes, that should work, I briefly played around with that idea earlier today. In the end I just settled for this and removed the setting from my environment.etc = {
"pam.d/sudo_local".text = ''
auth sufficient pam_tid.so
'';
}; |
We should unconditionally generate |
Oh, lol, I didn't see that PR! |
Ugh, I only searched issues, not PRs, sorry. But I like your suggestion @emilazy, I think that's the best way forward. |
Since macOS 14 (Sonoma), one can modify
/etc/pam.d/sudo_local
which will survive OS upgrades. By default, there's a file called/etc/pam.d/sudo_local.template
with the following contents:This gets included in
/etc/pam.d/sudoers
:It seems like a good idea to use this file so Touch ID for sudo will be available also right after upgrades, without having to run
darwin-rebuild switch
first.The text was updated successfully, but these errors were encountered: