1
23.1 Legacy Series / Re: Import existing config but have the root password reset to default
« on: October 07, 2023, 08:31:37 pm »
Hi Trebax,
What exactly did you do to fix the login. I am in the same situation. I rebuilt my OPNsense and when I restored the backup config.xml, the credential was not working anymore. I even tried to reset the root account via the "opnsense-shell password" command but it didn't do anything. I could not login to the web UI, SSH or the console.
I opened the .xml file and deleted the <password>hashed-password</password> line, and restored the config using this modified .xml, but I still could not login.
Any ideas?
What exactly did you do to fix the login. I am in the same situation. I rebuilt my OPNsense and when I restored the backup config.xml, the credential was not working anymore. I even tried to reset the root account via the "opnsense-shell password" command but it didn't do anything. I could not login to the web UI, SSH or the console.
I opened the .xml file and deleted the <password>hashed-password</password> line, and restored the config using this modified .xml, but I still could not login.
Any ideas?