
To use shutdown -r +1 "Rebooting for software change" which givesĪ minute grace period, posts that message to any interactive shells,Īnd uses the proper launchd mechanisms to shut everything down.

It's safer on modern MacOS than it historically has been, but it can still be trouble. Removing user-specific support files for multiple users, and Kext, removing most (if not all) of the system-wide components, Not running as root: killing Little Snitch Daemon, unloading the.Support files in the user-specific Library trees. Need to also take out the Little Snitch Daemon process and unload Underkill: if you're committed to killing the active components of.Script is not subject to normal hangup handling (see the man pages If you believe you need to kill processes thatĪct as gatekeepers for network traffic, you should make sure your Shoot your own session (and script) if taking out the LS processes Overkill: if you're going to remove the software and reboot, there's.Bare string variables with embedded whitespace: put "" around.

There are multiple problems with that script: Usr/sbin/jamf displayMessage -message "Computer is shutting down" Rm -R "/Applications/Little Snitch Configuration.app" Rm -R /System/Library/Extensions/LittleSnitch.kext Rm -R /Library/Logs/LittleSnitchDaemon.log Rm -R /Library/Application\ Support/Objective\ Development/ #remove Little Snitch files and User Preferences NetworkMonitor="Little Snitch Network Monitor"įile="/Library/LaunchAgents/at." I can see the Little Snitch UIAgent and Little Snitch Network Monitor processes in Activity Monitor running under the same account as the script is being executed from.

However when I run the script locally on a test machine with Little Snitch running, Terminal returns "No matching processes belonging to you were found". I want to be able to uninstall Little Snitch over Apple Remote Desktop.
