reset lost root password

I'm trying to fix an upgrade to PFSense router sw that was installed on a FreeBSD 14 box. The upgrade apparently partially completed except that the management GUI webpage will not show.
The IT person who set this box and router up is gone and I don't have the password but I have physical possession of the box, i.e. I can access the console port.

I've tried using a YouTube video that described process that does the following and I complete it without any any problems, except the passwd change had no effect once rebooted.

Here's what I did:
- connected a RJ45-USB adapter cable to console port on this Protecli Vault FW4B box and to my Ubuntu 22.04 laptop
- used 'screen /dev/ttyUSB0 115200' to access console
- rebooted system
- on console:
At moment that boot menu was displayed I entered '2' for single user boot
after successful reboot to single user, I entered these commands:
# mount -u /
# mount -a
then proceeded to set password using 'passwd', and all was good without error.
- rebooted system
- once rebooted, ssh'd into the box as root, but would not accept the password. (I'm not sure if root disabled over ssh)
- again, logged in but as other user but once logged in was not able to su, indicated "su: sorry"

Also, while in single user mode I used "pw user mod <username> -G wheel" to get more privileges. No Joy!
 
I'm trying to fix an upgrade to PFSense router sw that was installed on a FreeBSD 14 box.
You mean you have a PFSense system? PFSense is not something that gets installed on FreeBSD. PFSense is a completely customized derivative of FreeBSD. PFSense is not supported here.

 
I wasn't sure and in the meantime I've been checking with the pfsense forum and just got answer.... no root supported. In anycase this forum has helped. thank you
 
Back
Top