Update administrator.sh

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2023-10-29 04:25:19 -07:00 committed by GitHub
parent 80f63bc026
commit a4e5f8c857
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,9 @@ awk 'NR==2 {print "auth sufficient pam_tid.so"} 1' /etc/pam.d/sudo | s
echo "VerifyHostKeyDNS yes" | sudo tee /etc/ssh/ssh_config.d/10-custom.conf
sudo chmod 644 /etc/ssh/ssh_config.d/10-custom.conf
#Enable Safari debug menu
defaults write com.apple.Safari IncludeInternalDebugMenu 1
# Hide the administrator user
sudo dscl . create /Users/administrator IsHidden 1
sudo chflags hidden /Users/administrator