Skip to content

Commit

Permalink
misc(darwin): allow users to sudo with touchID
Browse files Browse the repository at this point in the history
  • Loading branch information
himkt committed Dec 30, 2024
1 parent 0eb4060 commit 87e7ac8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ NOCOLOR := $(shell tput sgr0)

.PHONY: \
all docs brew \
base cli gui \
base cli darwin gui \
cargo git \
nvim tmux uv zsh

Expand Down Expand Up @@ -34,6 +34,9 @@ base: cargo git tmux zsh
cargo: cargo_clean
$(PWD)/cargo/bin/setup.sh

darwin:
$(PWD)/darwin/bin/setup.sh

ghostty: ghostty_clean
$(PWD)/ghostty/bin/setup.sh

Expand Down
4 changes: 4 additions & 0 deletions darwin/bin/setup.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,7 @@ killall Dock
#
# guest login = false
#

# pam
sudo rm -rf /etc/pam.d/sudo_local
cat /etc/pam.d/sudo_local.template | sed -e 's/#auth/auth/g' | sudo tee /etc/pam.d/sudo_local >/dev/null

0 comments on commit 87e7ac8

Please sign in to comment.