April 23, 20179 yr Hi, as I wrote in the title I lost my unraid password. I still do have a detailed list of my hard drives (array, cache, etc...) and how they are assigned. I guess the only option left for me is to do a fresh install, right? Pls , let me know if I can do anything else. Rgds.
April 23, 20179 yr I think there may be a FAQ for this, but there are other means. You might be able to plug the USB drive into another computer and then bring up an editor (such as Notepad++) on the following file: /boot/config/shadow On the first line you should see something such as: root:$&$&%*1112233484847648DHD$%.:15477:0:99999:7::: You can try changing that line to the following, essentially delete the content between the first and second semi-colons: root::15477:0:99999:7::: That might make the root user no longer have a password. Save the file, eject the USB Flash Drive, plug in to your unRAID server and try booting. Edited December 11, 20196 yr by BRiT
April 23, 20179 yr Community Expert 4 minutes ago, BRiT said: I think there may be a FAQ for this It's not in the FAQ, maybe it should?
April 23, 20179 yr Author 20 minutes ago, BRiT said: I think there may be a FAQ for this, but there are other means. You might be able to plug the USB drive into another computer and then bring up an editor (such as Notepad++) on the following file: /boot/config/shadow On the first line you should see something such as: root:$&$&%*1112233484847648DHD$%.:15477:0:99999:7::: You can try changing that line to the following, essentially delete the content between the first and second semi-colons: root:15477:0:99999:7::: That might make the root user no longer have a password. Save the file, eject the USB Flash Drive, plug in to your unRAID server and try booting. Thx Brit! That worked exactly as you described. Rgds.
October 18, 20187 yr Thanks Brit I just had this problem as well -- mis-placed root user password after I had changed it. The method Brit described above does work, but I did need to leave two semicolons after root (vice one), and the value between the 2nd and 3rd semicolons was different (so I left it as it was). root::17810:0:99999:7::: Hope this helps
January 22, 20197 yr So, someone I suggested to use unraid misplaced his root password and told me about this. Please fix this, as it should not be that easy to gain full access to your entire server.
January 22, 20197 yr Community Expert Unraid is not intended to be secured against those who have physical access to the server. You can (if you want) encrypt the data stored on your drives for additional security but I do not believe the majority of Unraid users bother with this.
April 26, 20197 yr Thanks! this worked perfectly for me, allowing me to rescue an unraid box that had been in storage for over a year... adoucette's comment about the double :: applied to my situation... hope this helps others...
December 11, 20196 yr Worked for me just now 🙂 Same as @Dabbner was saying, double :: applied to my situation.
June 2, 20224 yr I misplaced my root password and tried these steps, but still can't login from the web GUI: I get this error when attempting to login with a password for root whether I delete those three files, or edit the shadow file: "Warning: file(/etc/nginx/htpasswd): failed to open stream: No such file or directory in /usr/local/emhttp/login.php on line 85 Warning: Invalid argument supplied for foreach() in /usr/local/emhttp/login.php on line 85" Attemtpting to log into UNRAID via root without a password prompts me to enter a password. I attempted to access UNRAID locally via a monitor, KB and mouse plugged into, but I don't get video because I believe I'm running a beta BIOS for my Asrock board that had some issue with quicksync and the onboard VGA being used at the same time. Any suggestions for getting back into my UNRAID server? Edited June 2, 20224 yr by realdiel
June 2, 20224 yr **SOLVED** A friend suggested I remove the "/login" URL portion I normally use to log into my UNRAID server instead of "xxx.xxx.x.x/login" and it worked without a password. Got into the web GUI, set a root password, tried the login URL again with the new password and all is well now. 😁 Edited June 3, 20224 yr by realdiel
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.