Nessus On CentOS
Install Nessus
yum localinstall Nessus-3.2.1-es4.i386.rpm
Add a Nessus user
# /opt/nessus/sbin/nessus-adduser
Using /var/tmp as a temporary file holder
Add a new nessusd user
Login: nessus
Authentication (pass/cert) [pass] : pass
Login password :
Login password (again) :
User rules
—————
nessusd has a rules system which allows you to restrict the host
that nessus has the right to test. For instance, you may want
him to be able to scan his own host only.
Please see the nessus-adduser(8) man page for the rules syntax
Enter the rules for this user, add hit ctrl-D once you are done :
(the user can have an empty rules set)
Login : nessus
Passowrd : **********
DN :
Rules :
Is that ok ? (y/n) [y]
user added.
Start Nessus service daemon
/etc/init.d/nessusd start
Activate the Nessus account
/opt/nessus/bin/nessus-fetch --register XXXX-XXXX-XXXX-XXXX-XXXX
Running the client
/opt/nessus/bin/nessus -q -T html localhost 1241 user pass ~/tmp/target ~/tmp/result.html