docintelapp / DocIntel

Open Source Platform for storing, organizing, and searching documents related to cyber threats
https://docintel.org
Other
154 stars 24 forks source link

Changing Admin Password #59

Closed g33kroid closed 1 year ago

g33kroid commented 1 year ago

Hi Team

I am trying to change the admin password of a fresh installation.

From the Portal I click on the Avatar -> Change Password and I get Error 404 Page not found

image

Is there a way I can change the admin password from GUI or CLI. I tried to re-add the user with different password but it says User Exists

Appreciate your Support.

grolinet commented 1 year ago

On the cli you can use this command to change the password of the admin user:

docker exec -it docintel-dev-webapp dotnet /cli/DocIntel.AdminConsole.dll user reset --username admin

Using the command:

docker exec -it docintel-dev-webapp   dotnet /cli/DocIntel.AdminConsole.dll

will also print the help information for all the stuff you can do with this tool.

USAGE:
    DocIntel.AdminConsole.dll [OPTIONS] <COMMAND>

OPTIONS:
    -h, --help       Prints help information   
    -v, --version    Prints version information

COMMANDS:
    user               
    role               
    classification     
    index              
    document           
    observable         
    whitelist          
    tags               
    thumbnails 
ancailliau commented 1 year ago

That's summed up :-) Many thanks @grolinet !