Tag: sudo

  • Using Touch ID for sudo on macOS… even after installing an OS update

    For a while, you were able to use Touch ID for sudo on macOS by editing the /etc/pam.d/sudo file to have a line like auth sufficient pam_tid.so In previous macOS versions, that file would get overwritten when you updated (say, from 13.6 to 13.6.1), but in macOS 14 (Sonoma) and supposedly in future versions, you…

  • Running sudo commands in Automator

    If you’re wondering how to run sudo (for privilege escalation) commands in Automator, this is one way to do it. Launch up Automator (of course). Find Run AppleScript in the library of actions. Then, drag it over to the workflow area on the right. By default, Automator will put in some script structure for you…