home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2000 July
/
PCWorld_2000-07_cd.bin
/
Komunik
/
sambar
/
_SETUP.1
/
newuser.stm
< prev
next >
Wrap
Text File
|
2000-01-16
|
3KB
|
107 lines
<HTML>
<HEAD>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
</HEAD>
<BODY bgcolor=#ffffff>
<CENTER><FONT SIZE=6>Create a New User</FONT></CENTER>
<BR>
<SCRIPT language="JavaScript">
<!--
var strValid = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
function Form_Validator(theForm)
{
var alertstr = "Please correct the following\n";
if (theForm.username.value == "")
{
alert(alertstr + "Enter a value for the \"Username\" field.");
theForm.username.focus();
return (false);
}
for (j = 0; j < theForm.username.value.length; j++)
{
if (strValid.indexOf(theForm.username.value.charAt(j)) == -1)
{
alert(alertstr + "The \"Username\" contains invalid characters.");
theForm.username.focus();
return (false);
}
}
}
//-->
</SCRIPT>
<BR>
<FORM METHOD="POST" ACTION="/session/adduser" TARGET="_top" onsubmit="return Form_Validator(this)">
<INPUT TYPE="hidden" NAME="RCpage" VALUE="/sysadmin/usermgmt/users.htm">
<TABLE border=0 cellpadding=5 cellspacing=2 width=550>
<TR valign=top>
<TD align=right><B>Username</B></TD>
<TD><INPUT TYPE="text" NAME="username" VALUE="" SIZE=40 MAXLENGTH=40>
<BR>
<I>The Account name can only have alpha-numeric characters.</I>
</TD>
</TR>
<TR VALIGN=top>
<TD align=right><B>Password</B></TD>
<TD><INPUT TYPE="password" NAME="password" VALUE="" SIZE=40 MAXLENGTH=40></TD>
</TR>
<TR VALIGN=top>
<TD align=right><B>Group</B></TD>
<TD>
<SELECT NAME="group">
<RCXselectgroup>
</SELECT>
</TR>
<TR VALIGN=top>
<TD align=right><B>Account Name</B></TD>
<TD><INPUT TYPE="text" NAME="name" VALUE="" SIZE=40 MAXLENGTH=40></TD>
</TR>
<TR VALIGN=top>
<TD align=right><B>FTP Root Directory</B></TD>
<TD>
<INPUT TYPE="text" NAME="dir" VALUE="<RCEdocsdir>" SIZE=40 MAXLENGTH=40><BR>
<I>Relative to '<RCErootdir>' unless a drive is give (i.e. d:/wwwroot).
To allow access to <B>all</B> drives and directories on the machine,
set the FTP Root Directory to the single star (*) character.</I>
</TD>
</TR>
<TR VALIGN=top>
<TD align=right><B>FTP Access</B></TD>
<TD>
<INPUT TYPE="radio" NAME="ftpprivs" VALUE="0" CHECKED> None<BR>
<INPUT TYPE="radio" NAME="ftpprivs" VALUE="1"> Read Only<BR>
<INPUT TYPE="radio" NAME="ftpprivs" VALUE="2"> Read/Write<BR>
</TD>
</TR>
<TR VALIGN=top>
<TD align=right><B>FTP Maximum Upload</B></TD>
<TD>
<INPUT TYPE="text" NAME="ftpmax" VALUE="0"><BR>
The maximum upload space (in mega-bytes) permitted for this user account.
A value of zero (0) indicates unlimited capacity (the minimum capacity is 5MB).
All directories below the FTP Root Directory are included in the capacity
calculation.
</TD>
</TR>
<RCif RCEmailserver=true>
<TR VALIGN=top>
<TD align=right><B>Mailbox</B></TD>
<TD>
<INPUT TYPE="checkbox" NAME="mbox"><BR>
Create a local mailbox for this user.
</TD>
</TR>
<RCendif>
<TR>
<TD></TD><TD><INPUT TYPE="submit" VALUE="Create New User"></TD>
</TR>
</TABLE>
</FORM>
</CENTER>
</BODY>
</HTML>