|
From: Jamie C. <jca...@we...> - 2006-05-01 18:35:10
|
On 1/May/2006 11:36 Bruno Sousa wrote .. <blockquote type=3D"cite"> <div class=3D"Section1"> <p style=3D"margin-bottom: 12pt;" class=3D"MsoNormal"><font size=3D"3" face=3D"Times New Roman"><span lang=3D"EN-GB" style=3D"font-size: 12pt;">Hello,<o:p /></span></font></p> <p style=3D"margin-bottom: 12pt;" class=3D"MsoNormal"><font size=3D"3" face=3D"Times New Roman"><span lang=3D"EN-GB" style=3D"font-size: 12pt;"><o:p> </o:p></span></font></p> <p style=3D"margin-bottom: 12pt;" class=3D"MsoNormal"><font size=3D"3" face=3D"Times New Roman"><span lang=3D"EN-GB" style=3D"font-size: 12pt;">I sucefully used the create-user.pl command-line script, of the virtualmin , and I have created over 500 users, with the default login, password, real name , quota and email quota.<o:p /></span></font></p> <p style=3D"margin-bottom: 12pt;" class=3D"MsoNormal"><font size=3D"3" face=3D"Times New Roman"><span lang=3D"EN-GB" style=3D"font-size: 12pt;">Now I would like to know if is it possible to create a default index.html in the homedir of each user.<o:p /></span></font></p> <p style=3D"margin-bottom: 12pt;" class=3D"MsoNormal"><font size=3D"3" face=3D"Times New Roman"><span lang=3D"EN-GB" style=3D"font-size: 12pt;"><o:p> </o:p></span></font></p> <p style=3D"margin-bottom: 12pt;" class=3D"MsoNormal"><font size=3D"3" face=3D"Times New Roman"><span lang=3D"EN-GB" style=3D"font-size: 12pt;">Thanks in advance,<o:p /></span></font></p> <p style=3D"margin-bottom: 12pt;" class=3D"MsoNormal"><font size=3D"3" face=3D"Times New Roman"><span lang=3D"EN-GB" style=3D"font-size: 12pt;">Bruno Sousa</span></font><font size=3D"2" face=3D"Arial" color=3D"navy"><span lang=3D"EN-GB" style=3D"font-size: 10pt; font-family: Arial; color: navy;"><o:p /></span></font></p> <p style=3D"margin-bottom: 12pt;" class=3D"MsoNormal"><font size=3D"2" face=3D"Arial" color=3D"navy"><span lang=3D"EN-GB" style=3D"font-size: 10pt; font-family: Arial; color: navy;"><o:p> </o:p></span></font></p> </div> </blockquote>You should have create the file /etc/skel/public_html/index.html before doing all those domain creations :-)<br />However, do add this file to existing domains you'd need to create a simple perl or shell script.<br /><br />=A0- Jamie<br /><br /> |