Follow the steps below to uninstall the Nessus scanner and remove the configuration files.
1. Optional - Stop the nessusd service
root@earth> service nessusd stop
2. To uninstall Nessus remove the Nessus package
root@earth> rpm -e nessus-package
For some reason /opt/nessus still exists after the Nessus package is removed
3. Remove the Nessus directory.
root@earth> rm -r /opt/nessus
Note- Don't worry the Nessus the files will be recreated after the reinstall.
Note- If the /opt/nessus directory is not removed, then your account will still be locked. This is because the configuration files will still exist.
4. Now install Nessus
root@earth> rpm -ivh nessus.rpm
5. Go to the Web interface to finish the configuration of the scanner
https://nessus:8834
Installing Nessus and setting it up to be managed by Security Center takes very little time, but you
Create a new user and/or set the user password.
Add user to scanner
root@earth>
/opt/nessus/sbin/nessuscli adduser newuser
Change password on the nessus scanner
root@earth>
/opt/nessus/sbin/nessuscli chpasswd username
I showed you in a previous post "Reset Admin account on Security Center" how to do this for Security Center.
Related posts on this site:
Reset Admin account on Security Center
Manually Update Plugins for your PVS
Manually Update Plugins on a Nessus Scanner