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
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 /