User Tools

Site Tools


pfsense:password_recovery

PFSense - Password Recovery

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

  • On the Welcome screen, select the option to enter the Single mode, i.e. option 2.

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

  • Press Enter to have access to the command-line prompt.

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


pfsense/password_recovery.txt · Last modified: 2020/12/19 23:28 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki