A strong root password you never type is a password you eventually forget. Unraid has no reset mail for root, but if you can get your hands on the boot device, the fix takes a few minutes and a text editor.
The docs give two methods, and I’d start with the one that only touches root. Shut the server down, plug the USB boot device into another computer and open /config/shadow in a plain text editor like Notepad++. Find the line that starts with root:. It looks something like this, with a long hash between the first two colons:
root:$&$&%*1112233484847648DHD$%.:15477:0:99999:7:::
Remove everything between the first and second colon, so it becomes:
root::15477:0:99999:7:::
Save the file, put the stick back, boot the server and Unraid asks you to set a new root password. Your share users keep their passwords, so the family’s SMB mappings on their laptops keep working.
The blunt method is deleting both /config/shadow and /config/smbpasswd. That clears every password on the server, root and all share users, so everybody needs a new one afterwards. I’d only use that if editing the file goes wrong.
The caveat is the reason this works at all: anyone with physical access to the boot device can do exactly the same and walk away with full admin access. The docs say it plainly, keep the USB stick secure. A server in a shared hallway cupboard deserves a little more thought than one in a locked meter cupboard.
Further reading: Unraid docs: User management