Created
January 31, 2026 19:16
-
-
Save smashah/0459d9e095e24c93c6c59226d07c1d9f to your computer and use it in GitHub Desktop.
Script to turn off Little Snitch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| echo "Stopping Little Snitch..." | |
| USER_ID=$(id -u) | |
| # 1. Force Unload the System Daemon | |
| # We use 'bootout' which implies a permanent unload until next bootstrap | |
| if sudo launchctl print "system/at.obdev.littlesnitch.daemon" >/dev/null 2>&1; then | |
| sudo launchctl bootout system/at.obdev.littlesnitch.daemon | |
| else | |
| echo "Daemon was not running." | |
| fi | |
| # 2. Force Unload the User Agent | |
| if launchctl print "gui/$USER_ID/at.obdev.littlesnitch.agent" >/dev/null 2>&1; then | |
| launchctl bootout "gui/$USER_ID/at.obdev.littlesnitch.agent" | |
| else | |
| echo "Agent was not running." | |
| fi | |
| # 3. Kill any lingering processes (Cleanup) | |
| sudo pkill -f "Little Snitch" | |
| echo "Little Snitch is OFF." |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here is the corresponding resurrection script:
https://gist.github.com/smashah/2c1dcf70c48532c08e62099383fdd9c9