Skip to main content

I'm using the below cmd to unlink nessus agent from the devices. But no result found.



!/bin/sh



!/bin/bash



echo "Unlinking Nessus Account"
sudo /Library/NessusAgent/run/sbin/nessuscli nessuscli agent unlink



exit 0



Please help me on this

I think you have the name of the command in there twice. It should be sudo /Library/NessusAgent/run/sbin/nessuscli agent unlink. And you might not need the sudo if you're running the command via Jamf Pro. (Should run as root, I believe.)


If you run into further issues surrounding unlinking and reinstalling the agent, you might check this out if you haven't already:



Nessus UUID Error


Reply