Reset WGDashboard Password
If you ever forgot your password WGDashboard, you can simply do the following:
sshinto your server- Navigate to WGDashboard's
srcdirectorybashcd WGDashboard/src - Shutdown WGDashboard
If you start WGDashboard with
./wgd.sh startbash./wgd.sh stopIf you start WGDashboard with service file
bashsudo systemctl stop wg-dashboard
- Backup
wg-dashboard.iniShell`cp ./wg-dashboard.ini ./wg-dashboard.ini.backup` - Use a text editor that you're familiar with, for example
nanoto editwg-dashboard.ini - To reset password, remove the line starting with
password = ...under the[Account]section, and save the file. - Restart WGDashboard and sign in with the default password:
admin - After signed in, head to Settings > WGDashboard Settings > Account Settings to update with your own password.
When editing
wg-dashboard.ini, please be careful not to change/remove other settings. If you do please make sure you understand what you're doing, and create backups before any changes.