Frequently Asked Question
How do I reset the root password? Advanced
Last Updated 2 years ago
Resetting your Unraid password - ADVANCED
Whether you have forgotten your password, or are not using a password manager, forgetting your root password can be a problem and bring everything to a standstill.
There are two methods to reset your root password, both of which require access to another computer:
- Basic
- Advanced
This method is suggested for more advanced users, and involves deleting the root account's password. This method does not remove any other account passwords.
- Shutdown your server.
- Plug your USB flash device into a Windows or Mac computer.
- Bring up an editor (such as Notepad++) and edit the following file:
/boot/config/shadow. - On the first line you should see something such as:
root:$&$&%*1112233484847648DHD$%.:15477:0:99999:7::: - Change that line to the following (essentially delete the content between the first and second colons):
root::15477:0:99999:7:::, save and exit. - Securely eject your USB device and connect it to the Unraid server again.
- Plug the flash device back into server and start up the server.
Your password is reset and your account secured.