1
0
mirror of https://github.com/tommytran732/macOS-Setup-Script synced 2024-11-24 10:41:33 -05:00

Consistency fix

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2023-11-07 01:42:21 -07:00
parent 21fbb2a37b
commit ba9fa6ffec
No known key found for this signature in database
GPG Key ID: D30DEC268D3FEB17
2 changed files with 4 additions and 4 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,7 +10,7 @@ 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
#Install Brew #I nstall 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