Well,
one idea is to have an HTML form
on a hidden URL like that :
www.server.com/veryprivate/new_account.html
new_account.html :
--- 8< ---
<FORM ACTION="na.php" METHOD="POST">
Login : <INPUT TYPE="TEXT" NAME="LOGIN">
Password : <INPUT TYPE="TEXT" NAME="PASSWORD">
</FORM>
--- 8< ---
So you type the login and the password of the
user and then the form call the PHP program :
na.php :
--- 8< ---
<PHP
$cmd="useradd -o $LOGIN -p $PASSWORD ";
system ($cmd);
print "Confirmation : new account created";
--- 8< ---
it's very "quicky and dirty"
The email will be : login@yourserver.com
Also the "real name" is on the client
side (Eudora, Outlook, etc.) to set
up.
If the email address has to be
manually choose (you want to be able to
choose an other address like zorro@yourserver.com),
then you need to know how to do that on
your box (it depend of your SMTP/POP
server) (useradd has nothing to do with
that)