OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 15.7 Legacy Series »
  • [SOLVED] Web Interface to change openvpn password for external user
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] Web Interface to change openvpn password for external user  (Read 4620 times)

romain

  • Full Member
  • ***
  • Posts: 101
  • Karma: 9
    • View Profile
[SOLVED] Web Interface to change openvpn password for external user
« 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
« Last Edit: July 25, 2015, 09:48:13 pm by franco »
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13692
  • Karma: 1176
    • View Profile
Re: Web Interface to change openvpn password for external user
« Reply #1 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
Logged

romain

  • Full Member
  • ***
  • Posts: 101
  • Karma: 9
    • View Profile
Re: [SOLVED] Web Interface to change openvpn password for external user
« Reply #2 on: July 25, 2015, 10:25:13 pm »
Thank you I will have a look on that.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 15.7 Legacy Series »
  • [SOLVED] Web Interface to change openvpn password for external user
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2