Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    User lost admin rights (even with WebCfg-All pages given)

    Scheduled Pinned Locked Moved webGUI
    5 Posts 3 Posters 1.1k Views
    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.
    • P
      pfsNewDev
      last edited by

      MOVED IT HERE BECAUSE IT'S A webGUI issue (I think):

      This is odd. So I accessed these two files:

      /etc/inc/captiveportal.inc
      /usr/local/captiveportal/index.php

      I made back-ups just in case something went wrong, but seriously, I just changed two values in captiveportal.inc and added some lines to two log messages in index.php, and I no longer could make changes in the configuration panel of pfSense.

      Can someone tell me what I did wrong…?

      UPDATE:

      I asked the one who set up the server to access pfSense and make some changes, and his changes appeared. It's like my account was suddenly not allowed to make changes in the web interface.

      By the way, I've returned the files to their original states. Still, only the admin could make changes, and not the users. I've asked him to create a new user, and the user--even if granted with admin rights--could not make changes via the web gui. I am confused. I'm fairly sure I've added really minor changes to the the two files I've mentioned, but pfSense seems to have denied me of my rights all of a sudden.

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        Are you using local authentication or remote authentication for the GUI?

        Does your user or group have the "Deny Config Write" privilege?

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • P
          pfsNewDev
          last edited by

          Using local authentication for the GUI.

          My group has it. I'm not the admin per se, just a user with privileges. I can access the GUI, but I can't make changes after I made some really minor changes in the two files I've mentioned. Oddly enough, I was able to change my password, but after that, when I tried logging back in, I was told that my user has no assigned pages. I have another account so I'm able to check pfSense still.

          1 Reply Last reply Reply Quote 0
          • C
            cmb
            last edited by

            If you have "Deny config write" assigned, then you're not allowed to make config changes.

            1 Reply Last reply Reply Quote 0
            • P
              pfsNewDev
              last edited by

              This is so odd.

              I am not sure if the GUI was updated yesterday, and I didn't check our group privileges before, so I'm not sure if Config: Deny Config Write was present there before. Anyway, it's working now! Thanks a lot for the time. :D

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.