New Mac Setup: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
== Kerberos authentication == | == Kerberos authentication == | ||
See: [[Enroll Mac in Kerberos]] | See: [[Enroll Mac in Kerberos]] | ||
== Trust IPA as Root Certificate == | |||
# Make sure to first execute [[Enroll Mac in Kerberos]] | |||
# Run: sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain /etc/ipa/ca.crt | |||
== Install MacPorts == | == Install MacPorts == | ||
Line 11: | Line 15: | ||
== Use Bash as Shell == | == Use Bash as Shell == | ||
# `chsh -s /bin/bash` | |||
# `echo 'export BASH_SILENCE_DEPRECATION_WARNING=1' >> ~/.bash_profile` | |||
== Use Kerberos Certificate as Mumble Certificate == | |||
# Make sure to perform: [[Enroll Mac in Kerberos]] | |||
# Make sure to perform: [[#Trust IPA as Root Certificate]] | |||
# Convert certificate to pkcs12: `openssl pkcs12 -export -passout pass: -in ~/Library/IPA/user.crt -inkey ~/Library/IPA/user.key -out ~/Library/IPA/user.pkcs12 -name "IPA Certificate"` | |||
# Open mumble | |||
# On the Certificate Management overview, select "Import a certificate" | |||
# In the Import from field, enter the following text: ~/Library/IPA/user.pkcs12 | |||
# |
Revision as of 07:40, 21 January 2025
This is a list of tweaks that are useful when setting up a new Mac.
TouchID sudo
- Edit `/etc/pam.d/sudo_local` as root and remove the '#' before this line: `auth sufficient pam_tid.so`
Kerberos authentication
Trust IPA as Root Certificate
- Make sure to first execute Enroll Mac in Kerberos
- Run: sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain /etc/ipa/ca.crt
Install MacPorts
Follow instructions here: https://www.macports.org/install.php
Use Bash as Shell
- `chsh -s /bin/bash`
- `echo 'export BASH_SILENCE_DEPRECATION_WARNING=1' >> ~/.bash_profile`
Use Kerberos Certificate as Mumble Certificate
- Make sure to perform: Enroll Mac in Kerberos
- Make sure to perform: #Trust IPA as Root Certificate
- Convert certificate to pkcs12: `openssl pkcs12 -export -passout pass: -in ~/Library/IPA/user.crt -inkey ~/Library/IPA/user.key -out ~/Library/IPA/user.pkcs12 -name "IPA Certificate"`
- Open mumble
- On the Certificate Management overview, select "Import a certificate"
- In the Import from field, enter the following text: ~/Library/IPA/user.pkcs12