-
Notifications
You must be signed in to change notification settings - Fork 6
superops_agent_uninstall_macos.sh
Corey Watson edited this page Dec 1, 2025
·
1 revision
Uninstalls the SuperOps RMM agent from macOS systems.
Uninstalls the SuperOps RMM agent from macOS systems by executing the agent's built-in uninstall script. This provides a clean removal of the agent and all associated components.
Uninstalls the SuperOps RMM agent from macOS systems by executing the agent's built-in uninstall script. This provides a clean removal of the agent and all associated components.
- Bash shell
- macOS operating system
- Sudo privileges (for uninstallation)
- SuperOps RMM agent must be installed
- Uninstall script must exist at /Library/superops/uninstall.sh
- UninstallScriptPath : "/Library/superops/uninstall.sh" (Path to the SuperOps-provided uninstall script on macOS)
- Uses the official SuperOps uninstall script
- Executes with sudo privileges
- Validates script existence before execution
- No additional cleanup needed (handled by uninstall script)
- Validates that the uninstall script exists at expected path
- Executes the SuperOps-provided uninstall script with sudo
- Reports progress and status to stdout
- Exits with code 0 on success, 1 on failure
- All-or-nothing: any failure stops the script immediately
- No secrets or credentials used
- Executes only the official SuperOps uninstall script
- Requires sudo elevation for uninstallation
- Does not store or transmit any data
- 0 success
- 1 failure
[ INPUT VALIDATION ]
--------------------------------------------------------------
Uninstall Script: /Library/superops/uninstall.sh
[ OPERATION ]
--------------------------------------------------------------
Checking for uninstall script...
Uninstall script found
Executing uninstall script with sudo...
Removing SuperOps RMM Agent...
Stopping services...
Removing launch agents...
Removing files...
Uninstallation complete
[ RESULT ]
--------------------------------------------------------------
Status: Success
[ FINAL STATUS ]
--------------------------------------------------------------
SuperOps agent uninstalled successfully
[ SCRIPT COMPLETED ]
--------------------------------------------------------------
- 2025-11-02 v1.0.0 Initial migration from SuperOps
- Converted to Limehawk Style A format (bash)
- Added comprehensive error handling
- Added validation checks
- Added structured console output
- Made installation path configurable
- View Script Source
- Scripts - Back to script index