Table of Contents

PFSense - Password Recovery

Perform the Pfsense server boot and wait for the Welcome menu.

The system will ask you to enter full pathname of shell or RETURN for /bin/sh:


Verify if the filesystem is clean

/sbin/fsck -y

NOTE: Enter yes to any prompts, including:

  • USE JOURNAL
  • RECOVER
  • WRITE CHANGES

Pfsense will mark the filesystem as clean.


Remount the root partition as rewritable

/sbin/mount -o rw /

Reset the Password

Execute the password reset command:

/etc/rc.initial.password
 
Do you want to proceed [y|n]? y

NOTE: The WebConfigurator admin password and privileges will be reset to the default (which is “pfsense”).


Reboot

/sbin/reboot