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

    Where is captive portal user account database?

    Development
    3
    5
    8.2k
    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
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.