The article will not allow sudo changes on Big Sur - at least, not without changing permissions of the sudo file first: 1. sudo -Si 2. chmod 644 /etc/pam.d/sudo 3. vi /etc/pam.d/sudo 4. Add the 'Auth sufficient pam_tid.so' line 5. chmod 444 /etc/pam.d/sudo 6. ... 7. Profit! Very handy tip though, thanks!
Use Touch ID for Sudo on Mac
11–20 of 221 posts
Re: Use Touch ID for Sudo on Mac
#12Very handy. But you can use your Apple Watch for sudo which is even better: [0] [0] https://github.com/insidegui/pam-watchid
Re: Use Touch ID for Sudo on Mac
#13I was excited to set this up when the first fingerprint sensor macs came out. Within a couple of days I’d switched it off. It is quite inconvenient and especially bad if you use an external keyboard.
Re: Use Touch ID for Sudo on Mac
#14Author admits 'probably not very efficient', but still a great SHORT article to consider something interesting. Thanks
I'm not sure about the "not efficient" part either. My password is 10+ characters, random alphanumeric with special characters. I sometimes mistype it. Whereas I'm yet to make a mistake tapping my finger on the finger print reader.
(I'll probably shorten it soon, but it's a slightly mangled lyric from a popular song, so it's easy enough to remember.)
Re: Use Touch ID for Sudo on Mac
#15Very handy. But you can use your Apple Watch for sudo which is even better: [0] [0] https://github.com/insidegui/pam-watchid
Re: Use Touch ID for Sudo on Mac
#16The article will not allow sudo changes on Big Sur - at least, not without changing permissions of the sudo file first: 1. sudo -Si 2. chmod 644 /etc/pam.d/sudo 3. vi /etc/pam.d/sudo 4. Add the 'Auth sufficient pam_tid.so' line 5. chmod 444 /etc/pam.d/sudo 6. ... 7. Profit! Very handy tip though, thanks!
Re: Use Touch ID for Sudo on Mac
#17Very handy. But you can use your Apple Watch for sudo which is even better: [0] [0] https://github.com/insidegui/pam-watchid
I use this feature for other touch cases (e.g. unlocking 1Password) but would hate it when in the flow.
Admittedly my password is well wired into my fingers.
Re: Use Touch ID for Sudo on Mac
#18And with every macOS update you should do it again and again. Just another not useful tip.
But yes, it is very frustrating that every time there's a system update you have to redo it.
Re: Use Touch ID for Sudo on Mac
#19And with every macOS update you should do it again and again. Just another not useful tip.
Re: Use Touch ID for Sudo on Mac
#20Very handy. But you can use your Apple Watch for sudo which is even better: [0] [0] https://github.com/insidegui/pam-watchid
I agree using your watch is cool. However I think you lose out on the security aspect, an important element that a fingerprint provides all on the same device.
I think this isn’t a great UX for other reasons I posted on this discussion. But the security is acceptable to me.