systemsetup
systemsetup configures certain per-machine settings typically configured in the System Preferences application. The systemsetup command requires at least "admin" privileges to run.
- Path
- /usr/sbin/systemsetup
- Author
- Hare Sudhan (@cyb3rbuff)
- Created
- 2023-08-31
Example Use Cases 2
Enable Remote Login #
systemsetup can be used to enable SSH for remote login
sudo systemsetup -setremotelogin on
Enable Remote Apple Events #
systemsetup can be used to enable Remote Apple Events. Set whether the system responds to events sent by other computers (such as AppleScripts).
sudo systemsetup -setremoteappleevents on