jeffleder / gvm-docker

GVM (OpenVAS) Docker Image
MIT License
1 stars 1 forks source link

Issues with loging in with admin:admin #2

Open dsc-vlds opened 3 years ago

dsc-vlds commented 3 years ago

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 commented 2 years ago

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 commented 2 years ago

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