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

Allow setting in WebUI to change or remove password #93

Open
nigiriemoji opened this issue Dec 22, 2021 · 2 comments
Open

Allow setting in WebUI to change or remove password #93

nigiriemoji opened this issue Dec 22, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@nigiriemoji
Copy link

Hey I love dietpi-dashboard on Pi 4 4gb.

I know I can change or remove password by running

sudo nano /opt/dietpi-dashboard/config.toml

But can you please put a settings option to be able to change this easier? Thank you

@ravenclaw900 ravenclaw900 added the enhancement New feature or request label Dec 22, 2021
@C-Fu
Copy link

C-Fu commented Dec 24, 2021

In the meantime, how would one regenerate the hash and secret if we've changed our dietpi root password?

@ravenclaw900
Copy link
Owner

There are instructions in the config file:

# To get hash: "echo -n '<PASSWORD>' | sha512sum
# To get random secret: "openssl rand -hex 32" 

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

No branches or pull requests

3 participants