LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Register unix user through browser (https://www.linuxquestions.org/questions/linux-software-2/register-unix-user-through-browser-275815/)

newuser455 01-09-2005 04:50 PM

Register unix user through browser
 
I am running a Dovecot mail server on a Redhat 9 machine with SquirrelMail as the webmail client. I would like to have users be able to sign themselves up for a webmail account. It seems as though they must be a Unix user in order to have an account currently. Is it possible to have a cgi or php script that can create a no login Unix account? I am aware that this is not generally a good idea, however this will be under an htaccess protected directory.

hob 01-10-2005 05:47 PM

You could potentially do this, but the problem is that the script that creates the UNIX account needs to have root privilages. It's probably better to create a form that enables people to submit a request for an account, and keep the actual account creation scripts away from the Web server.

newuser455 01-10-2005 07:39 PM

Nevermind, I have found a script that does this. It is called autouseradd. I just purchased it, now I just have to see if it works:) .

newuser455 01-21-2005 05:21 PM

Great! The script doesn't even work. It is supposed to create users using IO and Expect. Does anyone know of anything else that creates users? Maybe a script that uses cron jobs?


All times are GMT -5. The time now is 07:52 AM.