August 10Aug 10 hiI have forgot the password to my root account on my server, I have searched the help files and it just gives you info on usb not internal, anybody have any ideas how to reset as I don't have a usb anymorethanks
August 10Aug 10 https://docs.unraid.net/unraid-os/system-administration/secure-your-server/user-management/#reset-your-passwordThe same steps apply.You may need to temporarily boot with another usb to access the drive or pull the drive and plug it into another PC Edited August 10Aug 10 by MowMdown
Thursday at 11:17 PM2 days same issue here though with mirrored internal drives.Tried to boot from a Ubuntu USB drive, mounted the fat32 partition but that doesn't contain the files referenced in the link below:https://docs.unraid.net/unraid-os/system-administration/secure-your-server/user-management/#reset-your-passwordThen also imported the zfs pool via "sudo zpool import -f flash" (as the zpool list returned that name).Followed by "zfs list -r flash" lists the mounted pools (only flash/boot bot mounted to /boot). But also the /boot folder does not contain the data.Why did this happen:during initial setup via webinterface I used a longer password (37 characters)did not copy the license code (douh)got distracted by something else and did not finish the setup. Now I can not access via the password I had providedHappy about a suggestion/idea. I assume removing the NVME from the system, attaching it to a e.g. Windows system via external USB to NVME case wont help...
Friday at 03:17 AM1 day For the mirrored internal-boot case: the password reset files live on the Unraid flash filesystem as `/boot/config/passwd`, `shadow`, and `smbpasswd` (same docs apply). If `zfs list` shows `flash/boot` but `/boot` is empty or wrong, the dataset isn’t mounted where the docs expect.Try from the Ubuntu live USB:1) `sudo zpool import` (no -f first) and note the exact pool/dataset names.2) Mount the boot dataset explicitly, e.g. `sudo mkdir -p /mnt/boot && sudo zfs set mountpoint=/mnt/boot flash/boot && sudo zfs mount flash/boot` (adjust the dataset name to whatever `zfs list -r` showed).3) Then look for `config/passwd`, `config/shadow`, `config/smbpasswd` under that mount. Rename/delete those three, export the pool cleanly, reboot Unraid — root password becomes blank and you set a new one in the UI.A Windows NVMe enclosure usually won’t help if the flash is ZFS; stick with Linux. Also double-check you didn’t mount the wrong dataset (array disks vs the flash boot dataset) — only the flash boot copy holds those files.
Friday at 07:42 AM1 day You can also boot from an Unraid flash drive, then import the boot pool:zpool import -R /x flashzfs mount flash/bootThe internal boot pool should then be mounted under /x/boot
Friday at 08:17 PM1 day Thanks a lot @JorgeB and @owenscott will give it a try in 2 weeks (travelling right now). Initial quick test with an unraid usb drive (older version) gave an issue as the pool has the same name but will figure out when I return as well as try with a fresh usb unraid on the same version (7.3.2).
Yesterday at 12:17 AM1 day 3 hours ago, skydive2002 said:Thanks a lot @JorgeB and @owenscott will give it a try in 2 weeks (travelling right now). Initial quick test with an unraid usb drive (older version) gave an issue as the pool has the same name but will figure out when I return as well as try with a fresh usb unraid on the same version (7.3.2).You can use the Unraid Installer, there is a password reset in the recovery menu. New video has just released which will show you how to create and use.
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.