Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with loging in with admin:admin #2

Open
dsc-vlds opened this issue Aug 24, 2021 · 2 comments
Open

Issues with loging in with admin:admin #2

dsc-vlds opened this issue Aug 24, 2021 · 2 comments

Comments

@dsc-vlds
Copy link

dsc-vlds commented Aug 24, 2021

Never mind.
I had to create a new user via runuser -u _gvm -- gvmd --create-user=name --new-password=pass.
Now it's (almost) perfect. Can't make it run on https. But hopefully I can figure that out.

Best,

Val


Hi,

sorry to bother you this way, but your docker version of OpenVAS/GVM seems to be promising - at least - I am almost there...
Just that I cannot login with your default credentials (admin:admin).

The logs seems to suggest that GVM is running OK, it even downloads feeds etc. But, whatever I do, e.g. creating my own user (via gvmd --create-user), I still cannot log in.

I'm not sure if the reason could be the GVM at the login page page complains the session is not encrypted (https), I guess not. I tried to publish it at port 443, but for that, I think I would GVM to have a certificate already created. It does not make any difference trying 443:9392.

Any suggestions?

Thank you!

VL

@braisarias
Copy link

I have the same problem.
@dsc-vlds how where and when do you run that the gvmd create user command?
I've tried to run via docker container exec but it always fails

@jeffleder
Copy link
Owner

Not sure why the user is not passing through but if you run per the instructions this command should work:

docker exec -it openvas runuser -u _gvm -- gvmd --create-user=USER --password=PASS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants