systemsetup
Created by Hare Sudhan (@cyb3rbuff)
Description
systemsetup configures certain per-machine settings typically configured in the System Preferences application. The systemsetup command requires at least “admin” privileges to run.
Created | Tactics | Tags |
---|---|---|
2023-08-31 | Lateral Movement | ssh configuration |
Paths
/usr/sbin/systemsetup
Use Cases
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