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

    An easy way to creat users and passwords?

    Captive Portal
    4
    9
    5.0k
    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.
    • A
      alavik
      last edited by

      Hello!

      im looking for a easy way to create a new user and a password…
      I just want to have a web page where you press on somthing like "new user" and then it generates a username and a password...

      some who has a conclution on that?

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

        This is also in the pipe (and already working in our head codetree) for the next version. stay tuned.

        1 Reply Last reply Reply Quote 0
        • A
          alavik
          last edited by

          nice =)

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

            Oh, sorry missed the CP part here. We have advanced usermanagement for the webgui with privileges in the pipe. not creating random cp users. sorry for the misunderstanding  :-[

            This is probably easier to be done with an external radius server and an application that creates users or maybe even as addon to the freeradius package as saving cp users at the userpage drops all users.

            1 Reply Last reply Reply Quote 0
            • V
              vleinone
              last edited by

              Hi,

              Here is my sollution for this problem. Is use apache and php to generate 5 random username and password
              and then import them to mysql radius db after that it send those accounts to users email.
              If you know littlebit php you can easily modificate this to your needs. Rename that file back to .zip,
              because this forum dont accept zip files.

              Yes i know that my php is messy and not perfect =)

              Br,

              Ville

              gen_accounts.zip.txt

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

                Nice, you should make a package out of this so people can install this as "random user generator" in their webgui.  ;)

                1 Reply Last reply Reply Quote 0
                • V
                  vleinone
                  last edited by

                  Hi,

                  Well, maybe i do package. I must just think how i make this possible.

                  Br,

                  Ville

                  1 Reply Last reply Reply Quote 0
                  • O
                    outtasking
                    last edited by

                    We have developed a tool to create a batch of users and pass , but this is intended to work with external radius server , if you are interested let me know via PM

                    Regards

                    EKOPLC : Broadband Over Powerlines
                    http://www.ekoplc.net

                    1 Reply Last reply Reply Quote 0
                    • V
                      vleinone
                      last edited by

                      Hi,

                      That zip file seems to be corrupted.
                      New dl location is: http://www.leinonen.org/pfsense.html

                      Br,

                      Ville

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