From 9384c39d57c5b5ce7a147f20e73a184426cbd176 Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Wed, 6 Nov 2024 10:50:11 -0500 Subject: [PATCH] Add sudo config --- configs/macos/enable-touchid-sudo.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 configs/macos/enable-touchid-sudo.sh diff --git a/configs/macos/enable-touchid-sudo.sh b/configs/macos/enable-touchid-sudo.sh new file mode 100644 index 0000000..e00d254 --- /dev/null +++ b/configs/macos/enable-touchid-sudo.sh @@ -0,0 +1,4 @@ +#! /bin/bash +# Run this script to enable sudo with Touch ID + +sed "s/^#auth/auth/" /etc/pam.d/sudo_local.template | sudo tee /etc/pam.d/sudo_local