DEV Community

Discussion on: I spend one hour a week optimizing my development environment.

Collapse
 
franck_fernandez profile image
Franck Fernandez

Nice article! If sudo TouchID doesn’t work with iTerm2, you can change Prefs > Advanced > Allow sessions to survive logging out and back in, and it could work 👌

Collapse
 
kbilleter profile image
kbilleter

The other issue is under tmux. That requires an extra line with pam_reattach.so

/etc/pam.d/sudo gets reset with Apple MacOS updates these days. I have a script to send me an SMS if these lines have been removed (or TOTP from ssh) :-)