Greenbone/Konfiguration: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
|||
Zeile 69: | Zeile 69: | ||
sudo runuser -u _gvm -- gvmd --user='''admin''' --new-password='''new_password''' | sudo runuser -u _gvm -- gvmd --user='''admin''' --new-password='''new_password''' | ||
[[Kategorie:Greenbone Security Manager]] |
Version vom 5. Februar 2023, 00:23 Uhr
Konfiguration
Dateien
Configuring
The installation is now finished. Next, we verify if our installation is working.
$ sudo gvm-check-setup
I got an error (SCAP DATA are missing), but if you look through the error message, you can see that you can fix it by running:
$ sudo runuser -u _gvm -- greenbone-feed-sync --type SCAP
This fixed my issue.
- Starting the OpenVAS Service
sudo gvm-start
Now your OpenVAS Service should be up and running
- OpenVAS listens on the Ports: 9390, 9391, 9392, and on Port 80.
- Your web browser should automatically open and lead to the OpenVAS Login Page.
- If not, open a web browser manually and enter the URL
https://127.0.0.1:9392
- The first time you want to open this URL you will get a security warning
- Click on Advanced and Add an Exception.
Remember the password you noted down before? Now we are going to need it.
Log in to OpenVAS with admin // your password
"Install OpenVAS on Kali Linux"
First things first – Navigate to To your User Profile / My Settings / Click on Edit and change the password.
This is basically all you need to do. OpenVAS is now running and ready for use.
Password reset
Did you forget to note down the password? You can change the admin password using the following commands:
# gvmd --user=admin --new-password=passwd;
The next step is to accept the self-signed certificate warning and use the automatically generated admin credentials to login on to the web interface:
Starting and stopping
Before starting to install the virtual appliance, the last step I have to consider is to start and stop the OpenVAS service. OpenVAS services consume a lot of unnecessary resources, so it is recommended that you disable these services when you are not using OpenVAS.
Run the following command to start the services:
Sudo gvm-start
To stop the OpenVAS services again, run:
sudo gvm-stop
To create a new user
sudo runuser -u _gvm -- gvmd --create-user=admin2 --new-password=12345
To change the password of the existing user:
sudo runuser -u _gvm -- gvmd --user=admin --new-password=new_password