diff --git a/Configuration.md b/Configuration.md index 66e062c..9a2d606 100644 --- a/Configuration.md +++ b/Configuration.md @@ -7,6 +7,7 @@ Most of these settings can be changed via the web-based admin interface. However * [Specifying upstreams for domains](#upstreams-for-domains) * [Configuring clients friendly names](#friendly-names) * [Configuration file](#configuration-file) +* [Reset Web Password](#password-reset) ## Command-line arguments @@ -164,4 +165,36 @@ Settings are stored in [YAML format](https://en.wikipedia.org/wiki/YAML), possib * `log_file` — Path to the log file. If empty, writes to stdout, if `syslog` -- system log (or eventlog on Windows). * `verbose` — Enable our disables debug verbose output. -Removing an entry from settings file will reset it to the default value. Deleting the file will reset all settings to the default values. \ No newline at end of file +Removing an entry from settings file will reset it to the default value. Deleting the file will reset all settings to the default values. + + + +## Reset Web Password + +Please follow these steps to create a new password for your user account: + +1. Install `htpasswd`: + + Ubuntu: + + apt-get install httpd + + Fedora: + + dnf install httpd + +2. Use `htpasswd` utility to generate a new hash: + + htpasswd -B -n -b + + It will print `:` to the terminal. + +3. Open `AdGuardHome.yaml` in the text editor. + +4. In the `users:` section find your user name and set `` value for the `password` setting: + + users: + - name: ... + password: + +5. Save the file, restart AGH. Now you'll be able to log in to Web interface using your new password.