An easy way to creat users and passwords?



  • 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?



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



  • nice =)



  • 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.



  • 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



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



  • Hi,

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

    Br,

    Ville



  • 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



  • Hi,

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

    Br,

    Ville


Locked