Reset admin password not working

Hi,

I am running the below versions.

gsad --version
Greenbone Security Assistant 20.08.0
gvmd --version
Greenbone Vulnerability Manager 20.08.0
openvas --version
OpenVAS 20.8.0
gvm-libs 20.8.0
Most new code since 2005: © 2020 Greenbone Networks GmbH
Nessus origin: © 2004 Renaud Deraison deraison@nessus.org
License GPLv2: GNU GPL version 2
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
uname -a
Linux openvas 4.18.0-240.1.1.el8_3.x86_64 #1 SMP Thu Nov 19 17:20:08 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
cat /etc/redhat-release
CentOS Linux release 8.3.2011

I ran the below command

#gvmd --user=admin --new-password=“uYYRm2FhChJv4z6KW”
#echo $?
1

It is not working for me. Any clue? I could not see it in the admin dashboard. Thanks in Advance.

Best Regards,

Kaushal

Check your quoting if you enter it in a shell.

1 Like

Also make sure that you’re calling the command with the correct user. If gvmd is e.g. running as user gvm but you’re calling the command with user myuser this won’t work.