File tree Expand file tree Collapse file tree 2 files changed +23
-6
lines changed Expand file tree Collapse file tree 2 files changed +23
-6
lines changed Original file line number Diff line number Diff line change @@ -64,4 +64,10 @@ Then, in no particular order:
64
64
65
65
- Flux > Preferences > Bedtime > 1200K (max).
66
66
67
+ - Edit ` /etc/pam.d/sudo ` to include `auth sufficient pam_watchid.so
68
+ "reason=execute a command as root"` as the first line and ` auth sufficient
69
+ pam_touchid.so "reason=execute a command as root"` as the second to enable
70
+ [ PAM Watch ID] ( https://github.com/biscuitehh/pam-watchid ) and [ PAM Touch
71
+ ID] ( https://github.com/Reflejo/pam-touchID ) .
72
+
67
73
Some of these are preferably not automated, others weren't possible AFAICT.
Original file line number Diff line number Diff line change 2
2
set -o errexit -o nounset
3
3
4
4
SCRIPT_DIR=" $( cd " $( dirname " $0 " ) " && pwd) "
5
+ REPOS_DIR=" $( mktemp -d -t macos_setup_repos) "
5
6
6
- if [ ! -d " $HOME /iCloud" ]; then
7
- echo " Symlinking iCloud."
7
+ trap ' rm -rf "$REPOS_DIR"' EXIT
8
+ (
9
+ echo " Installing PAM Touch ID..."
10
+ cd " $REPOS_DIR "
8
11
set -x
9
- ln -s " $HOME /Library/Mobile Documents/com~apple~CloudDocs/" " $HOME /iCloud"
12
+ git clone https://github.com/Reflejo/pam-touchID.git
13
+ cd pam-touchID
14
+ sudo make install
10
15
set +x
11
- else
12
- echo " iCloud directory already linked."
13
- fi
16
+
17
+ cd -
18
+ echo " Installing PAM Watch ID..."
19
+ set -x
20
+ git clone https://github.com/biscuitehh/pam-watchid.git
21
+ cd pam-watchid
22
+ sudo make install
23
+ set +x
24
+ )
14
25
15
26
# Use a modified version of the Zenburn theme by default in Terminal.app
16
27
# Originally taken from https://github.com/bdesham/zenburn-terminal
You can’t perform that action at this time.
0 commit comments