1
0
mirror of https://github.com/tommytran732/macOS-Setup-Script synced 2024-11-22 09:51:33 -05:00

Compare commits

..

No commits in common. "ba9fa6ffecb4278e01f711b96b6a515bce2017ce" and "c5a7a5b25a4208fd6a7d9529d50c0c6e0ced74e6" have entirely different histories.

2 changed files with 5 additions and 7 deletions

View File

@ -1,11 +1,11 @@
#!/bin/zsh #!/bin/zsh
# Comment this line out if you don't have Touch ID #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 awk 'NR==2 {print "auth sufficient pam_tid.so"} 1' /etc/pam.d/sudo | sudo tee /etc/pam.d/sudo
# Verify SSH Fingerprints # Verify SSH Fingerprints
echo "VerifyHostKeyDNS yes" | sudo tee /etc/ssh/ssh_config.d/10-custom.conf echo "VerifyHostKeyDNS yes" | sudo tee /etc/ssh/ssh_config.d/10-custom.conf
sudo chmod 644 /etc/ssh/ssh_config.d/10-custom.conf sudo chmod 644 /etc/ssh/ssh_config.d/10-custom.conf
# Enable Safari debug menu #Enable Safari debug menu
defaults write com.apple.Safari IncludeInternalDebugMenu 1 defaults write com.apple.Safari IncludeInternalDebugMenu 1

View File

@ -1,6 +1,6 @@
#!/bin/zsh #!/bin/zsh
# Comment this line out if you don't have Touch ID #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 awk 'NR==2 {print "auth sufficient pam_tid.so"} 1' /etc/pam.d/sudo | sudo tee /etc/pam.d/sudo
# Verify SSH Fingerprints # Verify SSH Fingerprints
@ -10,10 +10,8 @@ sudo chmod 644 /etc/ssh/ssh_config.d/10-custom.conf
#Enable Safari debug menu #Enable Safari debug menu
defaults write com.apple.Safari IncludeInternalDebugMenu 1 defaults write com.apple.Safari IncludeInternalDebugMenu 1
#I nstall Brew #Install Brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew tap homebrew/autoupdate brew tap homebrew/autoupdate
brew tap homebrew/cask-versions brew tap homebrew/cask-versions
brew install --cask android-platform-tools chronycontrol github gpg-suite-no-mail microsoft-edge mullvadvpn orbstack powershell visual-studio-code brew install --cask android-platform-tools chronycontrol github gpg-suite-no-mail microsoft-edge mullvadvpn orbstack visual-studio-code
brew install gnu-sed
echo 'PATH="/opt/homebrew/opt/gnu-sed/libexec/gnubin:$PATH"' >> /etc/zshrc