From 062989d67df115471926d2dfabcfeca6a67cec2a Mon Sep 17 00:00:00 2001 From: Tommy Date: Fri, 2 Jun 2023 13:37:07 -0700 Subject: [PATCH] Update and rename install.sh to administrator.sh Signed-off-by: Tommy --- administrator.sh | 8 ++++++++ install.sh | 21 --------------------- 2 files changed, 8 insertions(+), 21 deletions(-) create mode 100644 administrator.sh delete mode 100644 install.sh diff --git a/administrator.sh b/administrator.sh new file mode 100644 index 0000000..69bd7e4 --- /dev/null +++ b/administrator.sh @@ -0,0 +1,8 @@ +#!/bin/zsh + +#Comment this line out if you don't have Touch ID +awk 'NR==2 {print "auth sufficient pam_tid.so"} 1' /etc/pam.d/sudo | sudo tee /etc/pam.d/sudo + +# Verify SSH Fingerprints +echo "VerifyHostKeyDNS yes" | sudo tee /etc/ssh/ssh_config.d/10-custom.conf +sudo chmod 644 /etc/ssh/ssh_config.d/10-custom.conf diff --git a/install.sh b/install.sh deleted file mode 100644 index e8288ad..0000000 --- a/install.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/zsh - -defaults write com.apple.mail EnableBundles -bool true -echo "export HOMEBREW_NO_ANALYTICS=1" >> ~/.zshrc -echo "gpgconf --launch gpg-agent" >> ~/.zshrc -echo "export SSH_AUTH_SOCK=$HOME/.gnupg/S.gpg-agent.ssh" >> ~/.zshrc - -#Comment this line out if on Intel Mac -echo 'eval $(/opt/homebrew/bin/brew shellenv)' >> ~/.zshrc - -#Comment this line out if you don't have Touch ID -awk 'NR==2 {print "auth sufficient pam_tid.so"} 1' /etc/pam.d/sudo | sudo tee /etc/pam.d/sudo - -/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" -brew tap homebrew/autoupdate -brew install butane hugo nmap -brew install --cask docker github gpg-suite microsoft-auto-update microsoft-edge parallels protonvpn visual-studio-code - -# Verify SSH Fingerprints -echo "VerifyHostKeyDNS yes" | sudo tee /etc/ssh/ssh_config.d/10-custom.conf -sudo chmod 644 /etc/ssh/ssh_config.d/10-custom.conf \ No newline at end of file