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'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
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:
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.