Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Reset password root ZFS does not work.
« previous
next »
Print
Pages: [
1
]
Author
Topic: Reset password root ZFS does not work. (Read 1455 times)
sanscorp
Newbie
Posts: 5
Karma: 0
Reset password root ZFS does not work.
«
on:
June 07, 2022, 10:36:31 pm »
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!
Logged
meyergru
Hero Member
Posts: 1683
Karma: 165
IT Aficionado
Re: Reset password root ZFS does not work.
«
Reply #1 on:
June 07, 2022, 11:42:06 pm »
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
Logged
Intel N100, 4 x I226-V, 16 GByte, 256 GByte NVME, ZTE F6005
1100 down / 440 up
,
Bufferbloat A+
sanscorp
Newbie
Posts: 5
Karma: 0
Re: Reset password root ZFS does not work.
«
Reply #2 on:
June 08, 2022, 05:58:28 am »
I followed those instructions in the first place
Logged
franco
Administrator
Hero Member
Posts: 17658
Karma: 1611
Re: Reset password root ZFS does not work.
«
Reply #3 on:
June 08, 2022, 08:38:39 am »
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
Logged
sanscorp
Newbie
Posts: 5
Karma: 0
Re: Reset password root ZFS does not work.
«
Reply #4 on:
June 10, 2022, 04:19:52 pm »
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.
Logged
Patrick M. Hausen
Hero Member
Posts: 6801
Karma: 571
Re: Reset password root ZFS does not work.
«
Reply #5 on:
June 10, 2022, 05:06:29 pm »
mount -t zfs -u -o rw /
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Reset password root ZFS does not work.