Skip to main content
Question

Unlink Nessus Agent

  • November 2, 2020
  • 2 replies
  • 21 views

Forum|alt.badge.img+3

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

2 replies

Forum|alt.badge.img
  • New Contributor
  • November 2, 2020

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.)


Forum|alt.badge.img+5
  • Contributor
  • November 2, 2020

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