Posted on 11-02-2020 05:33 AM
I'm using the below cmd to unlink nessus agent from the devices. But no result found.
echo "Unlinking Nessus Account"
sudo /Library/NessusAgent/run/sbin/nessuscli nessuscli agent unlink
exit 0
Please help me on this
Posted on 11-02-2020 12:30 PM
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.)
Posted on 11-02-2020 01:27 PM
If you run into further issues surrounding unlinking and reinstalling the agent, you might check this out if you haven't already: