Changing pfSense user password remotely
-
Currently my OpenVPN users just have local database username/password and use certificate+local user auth. Their accounts are in a group that has just "WebCfg - System: User Password Manager page" access, and they can login to pfSense and change their password as required.
I have other places for password changes, so would like to enhance a script I already have so it can also remotely change the pfSense password, providing username, old password and new password…
Has anyone done something like this already? Will save me reinventing the wheel.