OPNsense Forum

Archive => 15.7 Legacy Series => Topic started by: romain on July 25, 2015, 09:22:05 am

Title: [SOLVED] Web Interface to change openvpn password for external user
Post by: romain on July 25, 2015, 09:22:05 am
Hello,

i would like to develop a basic web page where a user can give his username, old password and new password twice in order to change it password for openvpn.

I'm pretty sure there is already something code in opensense and I would like to use the same function to be really compliant. I tried to look in the code but I would like your point of view on what I'm trying to do.

Maybe if you can help me by tell me what's function would be great to do it ?

Thank you !
Romain
Title: Re: Web Interface to change openvpn password for external user
Post by: franco on July 25, 2015, 09:47:59 pm
It's already there. The important parts being:

(a) the "guest" needs access to the GUI login, and
(b) the "guest" needs the user password manager access rights.

I have attached three screenshots so you know what I'm talking about (although I used captive portal access rights, but it's the same workflow).


Cheers,
Franco
Title: Re: [SOLVED] Web Interface to change openvpn password for external user
Post by: romain on July 25, 2015, 10:25:13 pm
Thank you I will have a look on that.