add user, directory, etc. via cgi

Hello All (yes I mean you):

I'm a self taught programmer, so please bear with me and my ignorance.

What I Am Trying To Do:

I am attempting to create a user (and all the accompanying attributes like a home directory, entry in the passwd file, disk quota allotment and skel selection for a chrooted account) on a redhat linux 6.2 installation via an html form.

My Problem:
I don't know how to do it.

Any suggestions will be GREATLY appreciated! Samples scripts would be even better!

Thank you, All, in advance for your assistance.

gfoxjr

Yes u can di all this with CGI.

the first thing is to choose the language for cratin your CGI, i think Shell (Bourn or Korn ) will run well.

for creatin for example user just save in text file
user.cgi :
mkuser (AIX), useradd or adduser syntax

eg. adduser -u login -......

Don't forget to change mode : chmod o+r user.cgi

and thant just save it under :

.../cgi-bin/

your link will be :
http://...../cgi-bin/user.cgi

good luck