Skip to content

Commit

Permalink
Merge pull request #289 from himkt/darwin-config
Browse files Browse the repository at this point in the history
misc(darwin): allow users to sudo with touchID
  • Loading branch information
himkt authored Dec 30, 2024
2 parents 0eb4060 + b162bf8 commit f82cb7c
Show file tree
Hide file tree
Showing 2 changed files with 10 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
6 changes: 6 additions & 0 deletions darwin/bin/setup.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,9 @@ 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 f82cb7c

Please sign in to comment.