advplyr Posted May 14 Author Share Posted May 14 (edited) 1 hour ago, AndreasLindroth said: Hello, Quick question: Is there a way to reset the root password when you do not know it via CLI or so? My password manager overwrote my generated password when i created a new account so now i don't know the root password anymore.. Im still able to log in to it via auto sign-in from one of my computers so i've made an other Admin account, but would still like to recover the root password. Best regards Currently the only way to do this is to open up the JSON file containing the root user and manually change the password. The JSON files are located in /config/users/data and then you need to find the data.json file that has a JSON object id root. These are not actually valid JSON files because each line will have a JSON object for each user, so don't edit these files in anything that will auto-format on save. Once you find the root user object the attribute after id and username is "pash". Update the value of pash to empty quotes "". Make sure you have turned down the server for this and do a backup of that data file you are updating so if something weird happens you can just copy in the old one and try again. Edited May 14 by advplyr 1 Quote Link to comment
AndreasLindroth Posted May 14 Share Posted May 14 4 hours ago, advplyr said: Currently the only way to do this is to open up the JSON file containing the root user and manually change the password. The JSON files are located in /config/users/data and then you need to find the data.json file that has a JSON object id root. These are not actually valid JSON files because each line will have a JSON object for each user, so don't edit these files in anything that will auto-format on save. Once you find the root user object the attribute after id and username is "pash". Update the value of pash to empty quotes "". Make sure you have turned down the server for this and do a backup of that data file you are updating so if something weird happens you can just copy in the old one and try again. Thanks, Worked like a charm! Quote Link to comment
Ericsunraid Posted Wednesday at 11:15 PM Share Posted Wednesday at 11:15 PM (edited) My ISP blocks port 80. Any hope for me? I was really hoping to use the android app on my phone in the car. Edited Wednesday at 11:29 PM by Ericsunraid clarification Quote Link to comment
advplyr Posted Thursday at 12:21 AM Author Share Posted Thursday at 12:21 AM 1 hour ago, Ericsunraid said: My ISP blocks port 80. Any hope for me? I was really hoping to use the android app on my phone in the car. Port 80 is inside the docker container Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.