change password · cli · pfSense

How to change the webgui password of user in pfSense from a console/ssh session

So hello folks, for a couple of days I was digging arround to find a solution for this thing.

First you have to download the change admin script to your /etc/phpshellsessions with the following command:

# fetch -o /etc/phpshellsessions/ https://raw.githubusercontent.com/pfsense/pfsense/c07e853bb4a67a3b728b7546b36801eaef770c19/etc/phpshellsessions/changepassword

And then you run the the following:

# pfSsh.php playback changepassword  

It will ask you the new password and to confirm the new password for the user. After you complete the above you can try log in the webgui with the new password.

Have a nice day.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s