version 1.20, 2002/04/27 13:10:47
|
version 1.21, 2002/05/03 03:43:54
|
Line 244 if ($?) {
|
Line 244 if ($?) {
|
# ------------------------------ Make final modifications to the user directory |
# ------------------------------ Make final modifications to the user directory |
# -- Add a public_html file with a stand-in index.html file |
# -- Add a public_html file with a stand-in index.html file |
|
|
# system('/bin/chmod','-R','0660',"/home/$safeusername"); |
system('/bin/chmod','-R','0660',"/home/$safeusername"); |
#system('/bin/chmod','0710',"/home/$safeusername"); |
system('/bin/chmod','0710',"/home/$safeusername"); |
#mkdir "/home/$safeusername/public_html",0755; |
mkdir "/home/$safeusername/public_html",0755; |
#system('/bin/chmod','02770',"/home/$safeusername/public_html"); |
system('/bin/chmod','02770',"/home/$safeusername/public_html"); |
#open OUT,">/home/$safeusername/public_html/index.html"; |
open OUT,">/home/$safeusername/public_html/index.html"; |
#print OUT<<END; |
print OUT<<END; |
#<html> |
<html> |
#<head> |
<head> |
#<title>$safeusername</title> |
<title>$safeusername</title> |
#</head> |
</head> |
#<body> |
<body> |
#<h1>$safeusername</h1> |
<h1>$safeusername</h1> |
#<p> |
<p> |
#Learning Online Network |
Learning Online Network |
#</p> |
</p> |
#<p> |
<p> |
#This area provides for: |
This area provides for: |
#</p> |
</p> |
#<ul> |
<ul> |
#<li>resource construction</li> |
<li>resource construction</li> |
#<li>resource publication</li> |
<li>resource publication</li> |
#<li>record-keeping</li> |
<li>record-keeping</li> |
#</ul> |
</ul> |
#</body> |
</body> |
#</html> |
</html> |
#END |
END |
#close OUT; |
close OUT; |
|
|
system('/bin/chown','-R',"$safeusername:$safeusername","/home/$safeusername"); |
system('/bin/chown','-R',"$safeusername:$safeusername","/home/$safeusername"); |
|
|