Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
Lost authenticator, and bug in opnsense-shell
« previous
next »
Print
Pages: [
1
]
Author
Topic: Lost authenticator, and bug in opnsense-shell (Read 460 times)
rabinnh
Newbie
Posts: 2
Karma: 2
Lost authenticator, and bug in opnsense-shell
«
on:
February 22, 2024, 11:10:50 pm »
Good afternoon. I lost my authenticator app (I won't go into how) and now I can't login to my firewall. I found this entry:
https://forum.opnsense.org/index.php?topic=26614.msg128622#msg128622
Which recommended going into single user mode and entering:
opnsense-shell password
I did so, and went through all the prompts to revert to the local database and enter a new password. However, after confirming the password, the scripts crash. I have attached a screenshot of the crash that I took with my phone, so sorry about how hard it is to read.
In the meantime, is there some way I can fiddle around with a config file to enable me to get access again?
Thanks
Logged
franco
Administrator
Hero Member
Posts: 17659
Karma: 1611
Re: Lost authenticator, and bug in opnsense-shell
«
Reply #1 on:
February 23, 2024, 09:09:25 am »
Hi,
You need this fix:
https://github.com/opnsense/core/commit/603e1ce
Which was hotfixed in 23.7.12_5. Unfortunately you seem to be running the bad 23.7.12.
Cheers,
Franco
Logged
rabinnh
Newbie
Posts: 2
Karma: 2
Re: Lost authenticator, and bug in opnsense-shell
«
Reply #2 on:
February 23, 2024, 12:46:23 pm »
Awesome and easy. I'll give it a try in an hour or so.
You rock.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
Lost authenticator, and bug in opnsense-shell