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.
|
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.
|
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:) .
|
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. |