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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. VPN
  3. Making User Admin in config.ini

Making User Admin in config.ini

Scheduled Pinned Locked Moved Solved VPN
7 Posts 4 Posters 1.1k Views 4 Watching
  • 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.
    • aessenA Offline
      aessenA Offline
      aessen
      wrote on last edited by
      #1

      I truly do apologise that this keeps coming up and I have reviewed the previous posts on the mater to try and correct it myself, alas, no dice. I have updated the app to the most recent version per the post here: https://forum.cloudron.io/topic/5456/openvpn-setting-admin-user-gives-admin-to-everyone/3?=1667707187491 and I even experimented with the " " removal. I logged out and logged back in as a way of being able to ensure that wasn't the cause per: https://forum.cloudron.io/topic/4285/openvpn-admin-ui-access?=1667707187501 and nothing.

      I know it says that the admin UI is a bit minimalist but I am sorry, no matter how many times I try, I cannot get the "settings" option to appear on my end when I config the file as listed below. Unless the documentation is outdated, and the picture, that is. Please see the current docs to see if that is the case: https://docs.cloudron.io/apps/openvpn/#admin-settings

      Again, so sorry but any advice would be appreciated. You guys are doing such a great thing with Cloudron and in a perfect world would have a whole team updating these for ya. HAAH!

      [roles]

      Restart the app and re-login for role change to take effect

      #admins="******",

      1 Reply Last reply
      0
      • nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #2

        I just did a fresh install and after adding the username to the admins= line, then restarting the app and then also logout/login to the app with that username, the settings button does appear. So as far as I can tell, the docs are still up to date.

        Do you have any special characters in your username or such?

        1 Reply Last reply
        0
        • nebulonN nebulon marked this topic as a question on
        • robiR Offline
          robiR Offline
          robi
          wrote on last edited by
          #3

          make sure to remove the # from the admins= line.

          Conscious tech

          1 Reply Last reply
          2
          • aessenA Offline
            aessenA Offline
            aessen
            wrote on last edited by
            #4

            @robi This is where I am still learning some of the coding language and making mistakes. Removing the # is what puts the code into effect I guess? My new config.ini looks like this:

            [roles]
            # Restart the app and re-login for role change to take effect
            admins="*****",
            
            
            

            And no, my username has no special characters. Does it need to be the Cloudron username, the display name, or the associated webmail account, or something else? I am the admin.

            girishG nebulonN 2 Replies Last reply
            0
            • aessenA aessen

              @robi This is where I am still learning some of the coding language and making mistakes. Removing the # is what puts the code into effect I guess? My new config.ini looks like this:

              [roles]
              # Restart the app and re-login for role change to take effect
              admins="*****",
              
              
              

              And no, my username has no special characters. Does it need to be the Cloudron username, the display name, or the associated webmail account, or something else? I am the admin.

              girishG Do not disturb
              girishG Do not disturb
              girish
              Staff
              wrote on last edited by girish
              #5

              @aessen like this

              1035b8f3-4b5e-43b6-b3cc-7b22e090ec40-image.png

              [roles]
              # Restart the app and re-login for role change to take effect
              admins=girish
              

              No command in the end. No need for double quotes. Also, you must restart the app and relogin. Then, you will see a 'Settings' nav bar/header entry.

              1 Reply Last reply
              0
              • aessenA aessen

                @robi This is where I am still learning some of the coding language and making mistakes. Removing the # is what puts the code into effect I guess? My new config.ini looks like this:

                [roles]
                # Restart the app and re-login for role change to take effect
                admins="*****",
                
                
                

                And no, my username has no special characters. Does it need to be the Cloudron username, the display name, or the associated webmail account, or something else? I am the admin.

                nebulonN Offline
                nebulonN Offline
                nebulon
                Staff
                wrote on last edited by
                #6

                @aessen yes it has to be the Cloudron user's username.

                aessenA 1 Reply Last reply
                0
                • nebulonN nebulon

                  @aessen yes it has to be the Cloudron user's username.

                  aessenA Offline
                  aessenA Offline
                  aessen
                  wrote on last edited by
                  #7

                  @nebulon said in Making User Admin in config.ini:

                  @aessen yes it has to be the Cloudron user's username.

                  OMG you rock, all of you. That worked and it also helps me better understand the proper syntax for code like this. Many thanks.

                  1 Reply Last reply
                  0
                  • girishG girish has marked this topic as solved on
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Bookmarks
                    • Search