Use Touch ID for Sudo on Mac
davidwalsh.name
Use Touch ID for Sudo on Mac
1–10 of 221 posts
Re: Use Touch ID for Sudo on Mac
#2Very handy. But you can use your Apple Watch for sudo which is even better: [0]
Re: Use Touch ID for Sudo on Mac
#3[deleted]
Re: Use Touch ID for Sudo on Mac
#4And with every macOS update you should do it again and again. Just another not useful tip.
Re: Use Touch ID for Sudo on Mac
#5And with every macOS update you should do it again and again. Just another not useful tip.
its not like you update everyday, once a month seems like a fair trade if it’s convenient.
Re: Use Touch ID for Sudo on Mac
#6Author admits 'probably not very efficient', but still a great SHORT article to consider something interesting. Thanks
Re: Use Touch ID for Sudo on Mac
#7Very 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.
Re: Use Touch ID for Sudo on Mac
#8The 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
#9Author 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.
Re: Use Touch ID for Sudo on Mac
#10Very 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.
The watch unlocking mechanism only works if it’s in an unlocked state, i.e. you haven’t taken it off your wrist since the last time you entered your PIN. Somebody would have to double-press the side button on your watch while you were wearing it.