Skip to content
This repository has been archived by the owner on Apr 11, 2022. It is now read-only.

sh0shin/macosetup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

macOSetup

macOS setup & configuration automation

CURRENTLY UNMAINTAINED!

Quick usage

  1. Disable SIP (optional but recommended)
  2. Create a configuration file (see: etc/default.cfg) (all modules are disabled per default)
  3. Open Terminal
  4. Run ./macosetup -c path/to/your/config-file
  5. Enable SIP (optional but recommended)

macOS versions

List of macOS releases

Supported versions

  • 10.13 - High Sierra
  • 10.14 - Mojave
  • 10.15 - Catalina
  • 11 - Big Sur (soon)

Unsupported versions

  • < 10.13 - High Sierra

Outputs

  • [C] - Configuration
  • [D] - Module disabled
  • [E] - Error
  • [I] - Information
  • [M] - Module enabled
  • [W] - Warning
  • [X] - Module executed

Notes

System Integrity Protection (SIP)

Boot into macOS Recovery, or alternatively from Terminal:

sudo nvram "recovery-boot-mode=unused"
sudo reboot recovery

Open Terminal and run:

# Disable SIP
csrutil disable

# Enable SIP
csrutil enable

Sudo

To prevent sudo from asking for your password after time, you could add this to your sudoers file.

%admin  ALL=(ALL) NOPASSWD: ALL

The sudoers file is no longer handled by macosetup!

Full Disk Access

To avoid errors and permission problems, Terminal/iTerm needs Full Disk Access.