As it stands right now, I use the following procedure to make this work,
which is not a problem for a class of 5 students, but for a large class
it turns into a large amount of work
Procedure to setup student for samba access
1 Create the user directory on the webserver
2. Create the linux user - system/users and groups
3. Create a public_html directory under their home directory
4. chmod home directory 755
5. chmod public_html directory 755
6. chown home directory -R to user
7. chgrp home directory to apache
8. create samba user -- system-config-samba
9. input windows password into samba as samba password
Well since you have the steps so well setup, why not just make a
script that accepts the students name,username and password and then
goes through steps 1-9?
everything should then work
This procedure works. It takes 3 - 5 minutes per itineration, which
gets tedious at best. The problem comes in the fact that next year we
want to implement a similar system for storing all of our user files on
our samba file server, and creating 250 accounts like this is just out
of the question.
This may be of little assistance, but wouldn't placing or including the
previously mentioned directories with the set permissions in /etc/skel
place the same within the newly added users home directories upon creation?
--
*Trevor "TeC" Christian*
Cell #: (767) 225 4472
IM
MSN: trevorc98@xxxxxxxxxxx / trevor@xxxxxxxxxxxxxxxxx
YM : trevorc01
AIM: DoubleOTeC
------------------------------------------------------------------------
Curriculum Vitae (PDF) <http://bouyon.dalive.com/cv/curriculum_vitae.pdf>
Curriculum Vitae (HTML) <http://bouyon.dalive.com/cv/curriculum_vitae.html>