• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 Nov 2, 2016, 9:02 AM

    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 Nov 2, 2016, 9:30 AM

      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 Nov 2, 2016, 9:39 AM

        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
        • J
          jimp Rebel Alliance Developer Netgate
          last edited by Nov 8, 2016, 6:25 PM

          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 Nov 13, 2016, 6:11 PM

            @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
            • J
              jimp Rebel Alliance Developer Netgate
              last edited by Nov 13, 2016, 6:14 PM

              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 Jan 7, 2017, 1:34 PM

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

                1 Reply Last reply Reply Quote 0
                • J
                  jimp Rebel Alliance Developer Netgate
                  last edited by Jan 7, 2017, 2:23 PM

                  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.
                    [[user:consent.lead]]
                    [[user:consent.not_received]]