User:Maffblaster/Drafts/OpenVAS

From Gentoo Wiki
Jump to:navigation Jump to:search
This page has been nominated for deletion

The given reason is: This page should be deleted because the OpenVAS project name has been renamed in GVM and old OpenVAS loader package with all components removed from gentoo tree. GVM is a major update and all the commands and informations on this page are deprecated. We have new wiki page for new GVM --> Greenbone_Vulnerability_Management

If there is any reason not to delete this page, do not remove this notice, but please open a discussion on the associated talk page (this should delay deletion until the discussion is resolved).


  Note to admins
Please remember to check if anything links here and the page history before deleting.

This notice should remain for a minimum of 1 month after it was placed on the page. If discussion is still ongoing it should remain until a consensus is reached (check the talk page), at which time the page may be deleted or this notice may be removed.

If the page has only been edited by the user who nominated it for deletion and/or is in the nominator's user space, then more flexibility in the decision may be allowed.

Check the help page on deleting for more information.

Configuration

The following steps can be checked at any point by running the openvas-check-setup utility.

Generate an SSL certificate

Before OpenVAS can be started, an SSL certificate must be generated:

root #openvas-mkcert

Generate the client's SSL certificate

root #openvas-mkcert-client -n -i

Download vulnerability list

Download the vulnerability list with the following command:

root #openvas-nvt-sync

Update the scan daemon's cache

root #openvassd --only-cache

Rebuild the management daemon's NVT cache

root #openvasmd --rebuild

Download the SCAP data

root #openvas-scapdata-sync

Download the OpenVAS CERT database

root #openvas-certdata-sync

Create a user

Users will not be able to login until accounts have been created for them. Pretending a user by the name of Larry would like to create an account:

root #openvasmd --create-user larry

Unless you want a large GUID for a password, be sure to change it:

root #openvasmd --user=larry --new-password=SuPErSeCR3TP@assw0rd

Users can be listed with the following command:

root #openvasmd --get-users

Usage

Troubleshooting

Stuck on configuration steps

root #openvas-check-setup

Service not starting

Check the log files located at /var/log/openvas/.