I have installed the latest gvm on kali 2021.1
I have changed the config so that I can access GUI from a different computer.
(/lib/systemd/system/greenbone-security-assistant.service)
I did not see the default username and password when the setup began so I tried making my own
(SS attached)
This is very likely a specific issue with postges and Kali. Please search in this forum for possible solutions. It has been asked several times already.
The line I was using was creating the user, but not setting the passwords correctly. sudo runuser -u _gvm -- gvmd --create-user=admin2 --new-password=12345
Running this command showed the users were there: sudo runuser -u _gvm -- gvmd --get-users
The logs showed the users were failing:
md gmp:WARNING:2021-04-01 16h26.04 utc:4343: Authentication failure for 'admin2' from unix_socket
md gmp:WARNING:2021-04-01 16h26.06 utc:4346: Authentication failure for 'admin2' from unix_socket
md gmp:WARNING:2021-04-01 16h26.07 utc:4349: Authentication failure for 'admin2' from unix_socket
md gmp:WARNING:2021-04-01 16h26.09 utc:4352: Authentication failure for 'admin2' from unix_socket
I went back and ran this command, and after the login worked.