If you have a server with Wireguard-UI and you want to change the access password to the panel for any reason or if you have forgotten the password, you can easily do so by modifying a file.
First, connect to the server via SSH and edit the following file with your preferred editor:
/usr/local/wireguard-ui/db/server/users.json
You will see that the content of this file is as follows:
{
"username": "admin",
"password": "7bFUibE5sQpYpzjB"
}
Simply modify the 'password' parameter to the desired password. Please make sure to use a strong password, as this is the password to access the Wireguard profile configuration.
In higher versions of Wireguard UI, the location of the admin users is at:
/usr/local/wireguard-ui/db/users/admin.json
And the content would be as follows:
{
"username": "admin",
"password": "7bFUibE5sQpYpzjB",
"password_hash": "",
"admin": true
}
We hope we have helped you with this article! 🙂 Remember, if you have any questions about this or any other issue related to your Clouding servers, do not hesitate to contact us at support@clouding.io We are at your side for whatever you need!