This works for me. It was really frustrating to loose all my previous targets, but now I have gvm running.
One thing:
sudo runuser -u _gvm – gvmd --create-user=Admin --new-password=12345
has a typo; the right command line is
sudo runuser -u _gvm – gvmd --create-user=Admin --new-password=12345
did you see? there was a “–” instead a “–”
Tried to reset admin password on GVM 11 Kali Linux with command - gvmd --user=admin --new-password=new_password and nothing happens (default password not changing)
tried to add new user - the same issue, nothing happens.
same issue here i have tried to reset the admin password and create new user…but i always obtain :
Login Failed. Invalid password or username.
someone has solved this issue? thanks
I would not suggest this type of commands here, someone might look for a solution and accidentally drops his GMVD production database So just tell the Kali Maintainers they have to invest into their packets and the installer.
Just coming to say I have the same issue with no users getting created. I did a fresh install of Kali and a fresh install of GVM. I get the “no users found” error running check-setup.
Still having the same issue. Fresh kali install using postgresql 12 ( never had 11 installed) and the aforementioned command returns no errors and doesn’t create said user.
From the GVMD log
Blockquote
md main:MESSAGE:2020-08-24 10h49.27 utc:286525: Greenbone Vulnerability Manager version 9.0.1 (DB revision 221)
md manage: INFO:2020-08-24 10h49.27 utc:286525: Creating user.
md manage:WARNING:2020-08-24 10h49.27 utc:286525: sql_exec_internal: PQexec failed: ERROR: cannot change name of input parameter “lvl”
HINT: Use DROP FUNCTION level_max_severity(text,text) first.
(7)
md manage:WARNING:2020-08-24 10h49.27 utc:286525: sql_exec_internal: SQL: CREATE OR REPLACE FUNCTION level_max_severity (text, text) RETURNS double precision AS ‘/usr/lib/libgvm-pg-server’, ‘sql_level_max_severity’ LANGUAGE C;
md manage:WARNING:2020-08-24 10h49.27 utc:286525: sqlv: sql_exec_internal failed
md main:MESSAGE:2020-08-24 10h49.37 utc:286527: Greenbone Vulnerability Manager version 9.0.1 (DB revision 221)
md manage: INFO:2020-08-24 10h49.37 utc:286527: Getting users.
md manage:WARNING:2020-08-24 10h49.37 utc:286527: sql_exec_internal: PQexec failed: ERROR: cannot change name of input parameter “lvl”
HINT: Use DROP FUNCTION level_max_severity(text,text) first.
(7)
md manage:WARNING:2020-08-24 10h49.37 utc:286527: sql_exec_internal: SQL: CREATE OR REPLACE FUNCTION level_max_severity (text, text) RETURNS double precision AS ‘/usr/lib/libgvm-pg-server’, ‘sql_level_max_severity’ LANGUAGE C;
md manage:WARNING:2020-08-24 10h49.37 utc:286527: sqlv: sql_exec_internal failed
PLEASE get back to the Kali Maintainer, open a case there, here is nothing we can do or support.
The GSE (Greenbone Source Edition) is for self-compiling from our OpenSource GIT repository.
If someone build a broken or not working binary packet, Greenbone is NOT responsible and can do NOTHING about it. It is the fundermatal nature of free software to give the user freedom, even ship broken or not working packets like Kali is doing again and again.
Compile it on your own self, or use a Greenbone Community Edition that are your only two options that are supported here.
Please somebody help me i’m new with this tool when i tried to run gvm. i’m not getting any password
user:admin
password: blank
[>] Creating database
could not change directory to “/root”: Permission denied
createuser: error: creation of new role failed: ERROR: role “_gvm” already exists
could not change directory to “/root”: Permission denied
createdb: error: database creation failed: ERROR: database “gvmd” already exists
could not change directory to “/root”: Permission denied
ERROR: role “dba” already exists
could not change directory to “/root”: Permission denied
NOTICE: role “_gvm” is already a member of role “dba”
GRANT ROLE
could not change directory to “/root”: Permission denied
ERROR: extension “uuid-ossp” already exists