--- loncom/Attic/lcuseradd 2002/04/27 13:10:47 1.20 +++ loncom/Attic/lcuseradd 2002/05/03 03:43:54 1.21 @@ -18,7 +18,7 @@ # o LonCapa will add it if/when the user is granted an Author # role. # -# $Id: lcuseradd,v 1.20 2002/04/27 13:10:47 foxr Exp $ +# $Id: lcuseradd,v 1.21 2002/05/03 03:43:54 foxr Exp $ ### ############################################################################### @@ -244,33 +244,33 @@ if ($?) { # ------------------------------ Make final modifications to the user directory # -- Add a public_html file with a stand-in index.html file -# system('/bin/chmod','-R','0660',"/home/$safeusername"); -#system('/bin/chmod','0710',"/home/$safeusername"); -#mkdir "/home/$safeusername/public_html",0755; -#system('/bin/chmod','02770',"/home/$safeusername/public_html"); -#open OUT,">/home/$safeusername/public_html/index.html"; -#print OUT< -# -#$safeusername -# -# -#

$safeusername

-#

-#Learning Online Network -#

-#

-#This area provides for: -#

-# -# -# -#END -#close OUT; + system('/bin/chmod','-R','0660',"/home/$safeusername"); +system('/bin/chmod','0710',"/home/$safeusername"); +mkdir "/home/$safeusername/public_html",0755; +system('/bin/chmod','02770',"/home/$safeusername/public_html"); +open OUT,">/home/$safeusername/public_html/index.html"; +print OUT< + +$safeusername + + +

$safeusername

+

+Learning Online Network +

+

+This area provides for: +

+ + + +END +close OUT; system('/bin/chown','-R',"$safeusername:$safeusername","/home/$safeusername");