Uninstall a Nessus Agent on macOS
Before you begin:
- Unlink the agent from the manager.
To uninstall Nessus Agent on macOS:
-
Remove the Nessus directories. From a command prompt, type the following commands:
- $ sudo rm -rf /Library/NessusAgent
- $ sudo rm /Library/LaunchDaemons/com.tenablesecurity.nessusagent.plist
- $ sudo rm -r /Library/PreferencePanes/Nessus Agent Preferences.prefPane
-
Disable the Nessus Agent service:
-
From a command prompt, type the following command:
$ sudo launchctl remove com.tenablesecurity.nessusagent
-
If prompted, provide the administrator password.
-
What to do next:
-
If you plan on reinstalling the Nessus Agent on the system, see the knowledge base article on how to avoid linking errors.