Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved OpenVPN - Setting admin user gives admin to everyone.

    OpenVPN
    2
    3
    273
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      falkfyre last edited by

      Maybe a syntax issue on my end but I uncommented the admins= line and set an admin name but every user still has access to the admin settings. I've tested with a few different user accounts. Logged out logged back in but they can change network, DNS and client to client. When I do I can see it changing globally in openvpn.conf. Am I missing something?

      Current Config:

      [roles]
      # Restart the app and re-login for role change to take effect
      admins="username" (changed to protect the innocent)
      

      Tried removing "" from username but I get the same behavior. I have reboot with every change I've tried.

      girish 1 Reply Last reply Reply Quote 0
      • girish
        girish Staff @falkfyre last edited by

        @falkfyre this was actually a bug that is fixed in the 1.12.0 package. If you go to App-> Update -> Check for updates and update to that version, it should work as you expect. Can you please check?

        F 1 Reply Last reply Reply Quote 1
        • F
          falkfyre @girish last edited by

          @girish Awesome! That got it. Thanks. The first time I tried it it didn't take after the reboot but I added back in the " " marks and it worked as expected. Thank you so much. And again for the quick response!

          1 Reply Last reply Reply Quote 0
          • Referenced by  A aessen 
          • First post
            Last post
          Powered by NodeBB