home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2001 August
/
PCWorld_2001-08_cd.bin
/
Komunikace
/
sambar
/
_setup.1
/
newgroup.stm
< prev
next >
Wrap
Text File
|
2001-02-18
|
2KB
|
60 lines
<HTML>
<HEAD>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">
</HEAD>
<BODY bgcolor=#ffffff>
<CENTER><FONT SIZE=6>Create a New User Group</FONT></CENTER>
<BR>
<SCRIPT language="JavaScript">
<!--
var inValid = ":|/ ";
function Form_Validator(theForm)
{
if (theForm.groupname.value == "")
{
alert("Please enter a value for the \"Group Name\" field.");
theForm.groupname.focus();
return (false);
}
for (j = 0; j < theForm.username.value.length; j++)
{
if (inValid.indexOf(theForm.groupname.value.charAt(j)) != -1)
{
alert("The \"groupname\" contains invalid characters (:| ).");
theForm.groupname.focus();
return (false);
}
}
}
//-->
</SCRIPT>
<BR>
<FORM METHOD="POST" ACTION="/session/addgroup" onsubmit="return Form_Validator(this)">
<INPUT TYPE="hidden" NAME="RCpage" VALUE="/sysadmin/usermgmt/newgroup.stm">
<TABLE border=0 cellpadding=5 cellspacing=2 width=550>
<TR valign=top>
<TD align=right><B>Group Name</B></TD>
<TD><INPUT TYPE="text" NAME="groupname" VALUE="" SIZE=40 MAXLENGTH=40></TD>
</TR>
<TR>
<TD></TD><TD><INPUT TYPE="submit" VALUE="Create New User Group"></TD>
</TR>
</TABLE>
</FORM>
</CENTER>
<P>
<HR>
<P>
Note: Once created, groups cannot be deleted through the user interface.
To delete one or more unused groups, simply delete the <I>config/groups</I>
file and it will be recreated the next time the server is started with
only those groups found in the <I>config/passwd</I> file.
<P>
</BODY>
</HTML>