Installation
Uninstall cnspec
Remove cnspec from a device
If you need to remove cnspec from a host, this page walks through it cleanly: log out of Mondoo Platform, uninstall the package, and clean up the leftover repository or scheduled task.
If cnspec is running as a service, stop and disable it first. Uninstalling requires administrator or sudo privileges.
Log out and uninstall
-
Log out the cnspec client:
cnspec logout --force -
Uninstall the package:
sudo apt remove mondoo sudo apt autoremove -
Remove the repository and signing key:
sudo rm /usr/share/keyrings/mondoo-archive-keyring.gpg sudo rm /etc/apt/sources.list.d/mondoo.list