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

    How to allow captive poral users to change their own passwords?

    Scheduled Pinned Locked Moved Captive Portal
    8 Posts 4 Posters 3.7k 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.
    • M
      mafiosa
      last edited by

      Anyone who can tell me if it is possible to allow captive portal users to change their own passwords? I am currenty using local database but can use freeradius.The system is running squid with squidguard as well.So will that be an issue? Alternatly otp iย  mobile can also be a solution if anyone knows how to do it?

      1 Reply Last reply Reply Quote 0
      • H
        heper
        last edited by

        i doubt that there is a good way. (unless the clients are in an active-directory environment)

        1 Reply Last reply Reply Quote 0
        • M
          muswellhillbilly
          last edited by

          This would require a high level of customisation - you might be able to set up a self-service portal using a web front end to a Freeradius system, though you'd have to incorporate safeguards against anyone making password changes to any account they don't own. As heper suggests, you could possibly tie it into an AD environment, but you'd still need to integrate this with your authentication portal.

          I have set up an OTP system using FreeRadius, following this:

          http://motp.sourceforge.net/

          You can get users to download and install the OTP client on their mobiles to use the system. I set up a cron job which checks for membership of an active directory group (eg: OTPusers), scrapes those users from AD and populates their names into the radius database, automatically sending an email to these users with their secret and PIN. That's as far as I got, anyway.

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

            If you're using the local database it's actually easy.

            Grant your captive portal users (or group) the "WebCfg - System: User Password Manager" privilege. Then they can login to the pfSense GUI and when they go to System > User Manager they receive a page where they can change their password. If they have no other GUI access privileges then that is the page they'll see immediately after login.

            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
            • M
              mafiosa
              last edited by

              @jimp:

              If you're using the local database it's actually easy.

              Grant your captive portal users (or group) the "WebCfg - System: User Password Manager" privilege. Then they can login to the pfSense GUI and when they go to System > User Manager they receive a page where they can change their password. If they have no other GUI access privileges then that is the page they'll see immediately after login.

              then will tey able to change other's password as well?

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

                No, that specific privilege is not the privilege to access all of user management. It is a special page where a user can only change their own password. Try it out.

                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
                • M
                  mafiosa
                  last edited by

                  how to do this if using free radius with captive portal?

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

                    FreeRADIUS on pfSense? You can't. If you use it externally, there might be a GUI that lets you do that somewhere, but it's not a pfSense feature, it would be some other bit of software.

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