How do i reset the admin password for the web interface?
I googled how to reset the admin password and the results showed using this:
openvasmd --user= admin --new- password =new_password.
but the opemvasmd is not found.
this is the gsad version: Greenbone Security Assistant 8.0.0
I think I am using OpenVAS 9
I finally figured it out. I had to run it the following way:
export $(sudo cat /etc/default/gvmd-pg)
sudo -E -u gvm -g gvm gvmd --user=admin --new-password=‘your new password here’
Hi mstjohn, i tried the command but i am getting below error message, any idea?
sudo: unknown group: gvm
sudo: error initializing audit plugin sudoers_audit