Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Where is captive portal user account database?

    Scheduled Pinned Locked Moved Development
    5 Posts 3 Posters 8.6k 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.
    • O
      ozanus
      last edited by

      Hello Dear,
      Where is the captive portal users account database  ?

      I add sms auth. user page.
      I edit /cf/config/config.xml add a user but I dont see captive portal users page  ???

      Thanks for realtion

      1 Reply Last reply
      Reply Quote 0
      • E
        eri--
        last edited by

        Its a file under /var/db.
        But it is edited by the code in captiveportal.inc.

        Please post the diff you have here so i can help you…

        1 Reply Last reply
        Reply Quote 0
        • T
          tacfit
          last edited by

          does anyone know the exact file name?

          Im trying to write a php script that generates new users and am trying to figure out how pfsense does it in the first place.

          1 Reply Last reply
          Reply Quote 0
          • T
            tacfit
            last edited by

            ok… so its called captiveportal.db....  :-[

            however, i opened shell on my pfsense box and ran…
            [b]find / -name captiveportal.db

            it found it at first… but now its not there? does it get deleted every time you disable the captive portal?

            1 Reply Last reply
            Reply Quote 0
            • T
              tacfit
              last edited by

              maybe something to do with the file being locked/unlocked?

              1 Reply Last reply
              Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post
              Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
              Privacy Policy · Cookie Policy