Reset admin password of OpenVAS

Solution 1:

Try this:

openvasmd --user=admin --new-password=new_password

Solution 2:

To change the web login :

openvasmd --create-user NEWUSER

It will automatically generate a password for the new user.

Use this new account to modify the admin password.

To remove the 'junk / false' account just enter

 openvasmd --delete-user=NEWUSER

or do so in the WebUI.


Solution 3:

NOTE: This was the solution several years ago and this answer, although accepted, is now outdated. Please look at other answers to find an up to date solution

You can create a new administrative account with :

openvasad -c add_user -u your_new_login_here -r Admin

Then use this account to change the default admin's password.

Tags:

Debian

Openvas