-
Notifications
You must be signed in to change notification settings - Fork 5
superops_agent_uninstall_linux.sh
Corey Watson edited this page Dec 1, 2025
·
1 revision
Uninstalls the SuperOps RMM agent from Linux systems.
Uninstalls the SuperOps RMM agent from Linux 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 Linux systems by executing the agent's built-in uninstall script. This provides a clean removal of the agent and all associated components.
- Bash shell
- Linux operating system
- Root/sudo privileges (for uninstallation)
- SuperOps RMM agent must be installed
- Uninstall script must exist at /opt/superopsrmm/uninstall.sh
- UninstallScriptPath : "/opt/superopsrmm/uninstall.sh" (Path to the SuperOps-provided uninstall script)
- Uses the official SuperOps uninstall script
- Ensures script is executable before running
- Validates script existence before execution
- No additional cleanup needed (handled by uninstall script)
- Validates that the uninstall script exists at expected path
- Sets executable permissions on the uninstall script
- Executes the SuperOps-provided uninstall script
- 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 root privileges to execute
- Does not store or transmit any data
- 0 success
- 1 failure
[ INPUT VALIDATION ]
--------------------------------------------------------------
Uninstall Script: /opt/superopsrmm/uninstall.sh
[ OPERATION ]
--------------------------------------------------------------
Checking for uninstall script...
Uninstall script found
Setting executable permissions...
Executing uninstall script...
Removing SuperOps RMM Agent...
Stopping services...
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