Retrieve admin access - locked out
-
-
-
This post is deleted! -
@steveits
hithanks for the link, I read it carefully, but I didn't see any solution for my case.
I have the admin password, and the process of this link is to recover the password.
I need to re-enable web access or console access
ty
-
when I do this procedure it resets the password to the default and
REACTIVE console and web access?....>
/etc/rc.initial.password
....
....When the firewall reboots, login with the Default Username and Password.
-
One of the early lines in /etc/rc.initial.password says:
"The webConfigurator admin password and privileges will be reset to the default"
...so if it's a permission issue that will reset those for you, sounds like.SSH would be remote access. Typically "console" refers to plugging in a keyboard and monitor to the device. Netgate has instructions for their devices, e.g. https://docs.netgate.com/pfsense/en/latest/solutions/netgate-2100/connect-to-console.html
If you can get console access you should be able to edit the configuration file or copy in an old one. https://docs.netgate.com/pfsense/en/latest/config/xml-configuration-file.html#edit-in-place . Older configuration files should be in /conf/backup.
-
I was thinking more of a monitor and keyboard or even via serial port. My pfsense firewall is connected to my 4 port HDMI/USB KVM and I can also connect via the serial port.
-
You can use the console to restore the previous config
-
@steveits said in Retrieve admin access - locked out:
#edit-in-place
I think this is the best solution.
I'll tryAs soon as I can answer
-
This post is deleted! -
admin password reset procedure worked.
In addition to leaving the password as a default, it also restores the admin's access.THANKS