Can not change password after íntall openvas

Hello team, I just installed Openvas from Kali Linux. I can’t change password
when I changed on cli, nothing happened, but when I checked the logs
image

Here is log from /var/log/gvm/gvmd.log

md manage:WARNING:2025-02-18 03h42.56 utc:637722: sql_open: PQconnectPoll failed
md manage:WARNING:2025-02-18 03h42.56 utc:637722: sql_open: PQerrorMessage (conn): connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: FATAL:  role "root" does not exist
md manage:WARNING:2025-02-18 03h42.56 utc:637722: init_manage_open_db: sql_open failed

I already changed in the website but still get errors like this images

Please support me with this issue.

Best regards,

You should wrap the password in single quotes ' as per the instructions here.

/usr/local/sbin/gvmd --create-user=admin --password='<password>'

In Bash, single quotes (') are used for strong quoting (literal strings), meaning everything inside is taken exactly as it is, without expansion or interpretation of special characters.

1 Like