Reset password root ZFS does not work.

Started by sanscorp, June 07, 2022, 10:36:31 PM

Previous topic - Next topic
I'm trying to reset the root password via Single user mode but I get a read only error when following the tutorial.
Bitwarden messed up, synced wrong and now I need to reset my password.

Root is also "disabled" via the system --> access --> users panel.
When I try a reset of my other (main) user I also get the error that the file system is read only.

The system is up-to-date.
What is the correct procedure here?

Thank you in advance!

The mount must be done somewhat differently with ZFS than with UFS, see here:

https://protectli.com/kb/how-to-reset-the-opnsense-root-password/?intsrc=eu
Intel N100, 4* I226-V, 2* 82559, 16 GByte, 500 GByte NVME, ZTE F6005

1100 down / 800 up, Bufferbloat A+

I followed those instructions in the first place :)

We don't recommend single-user mode but it's obvious that you should mount your system read-write in order to succeed.

We do recommend using the installer media which has a built-in recovery tool.


Cheers,
Franco

Obviously.

How do I mount it as read write? I do not want to use the install media to recover a lost password.

I have gained access now, trough the history function of bitwarden, but it would be nice to know for the next time.

mount -t zfs -u -o rw /
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)