[K12OSN] Creating a repository in a K12LTSP server

Doug Simpson veewee77 at alltel.net
Fri Oct 27 03:23:35 UTC 2006


The way I'd do that is to set up apache and turn on the ~home thing and 
have them save them in their /home/username/public_html directory.

Then they call the file with:
http://server.address.com/~username/file.ppt

No worries with FTP!

You can also set up samba as a share-level device and add the users to 
it.  Samba will allow easy windows connectivity to their home directory 
with:

(from a winders computer)

START RUN

\\ip.ad.dr.es.ss\homes and it will oen their home directory. If the 
computers they are saving from are WindersXP it will present them with a 
login screen for their username and password.

You won;t have to worry about which school or nothing. Only their 
usernames in winders and samba.

I have a script that I wrote that adds them to linux and samba at the 
same time from the commandline and could likely be used with a text file 
using one of the methods that allows you to parse a text file and pull 
data one line at a time and do something with it.

I can't remember but it is something like
for a$ in /path/to/file/file.txt
do command
exit

I am sure there are others that can expand that and make it actually 
work. . .

Anyway, that might be easier to do than the by the school thing since 
they would use usernames rather than location. . .

Doug

Alan Hodson wrote:

>Hi colleagues
>
>For the district's Science Fair I was asked to help create a repository
>account where students from each school could login into a pre-assigned
>folder using given accounts/pwds, and upload their digital
>presentations. The idea is to provide each student with an area where
>they can keep their presentations, and on the day of the event (held at
>a local university) we take the server, set up 20-30 laptops connected
>via a couple of switches, and have the students download their
>presentations when the judges call their name.
>
>So far I've created the names of the schools in the home directory
>(home/schoolA, schoolB, etc) and using webmin and an algorithm for six
>character unique passwords, I've batched-created S(chool)Amascot1,
>SAmascot2, SAmascot3 (see http://links.episd.org/users2.txt for a
>working Webmin batch file example) and they reside
>in /home/schoolA/SAmascot1, /home/SchoolA/SAmascot2... The end result is
>that each participating student has an area in her/his school's folder,
>and access it with a unique login and a unique password. 
>
>What I am having a hard time doing is making these files be accessible
>via a firefox ftp call: ftp://SAmascot1:A1B2C3@I.P.Address needs to take
>that user to her/his folder, w/o access to any other schools/folders.
>Each school folder was chmoded (with the sticky bit on) to 700, and each
>folder (home account) inside the school's folder is chmoded to 770 w/o
>sticky bit.
>
>This works ok with ssh, but that's it. I can't get FTP started (vsftpd
>generates one error after the next) - tried nfs and samba shares, w/o
>much success either...
>
>If it was your setup, how would you configure it? Suggestions welcomed!
>cheers
>Alan Hodson
>El Paso ISD,TX
>-=o=-
>
>_______________________________________________
>K12OSN mailing list
>K12OSN at redhat.com
>https://www.redhat.com/mailman/listinfo/k12osn
>For more info see <http://www.k12os.org>
>
>  
>




More information about the K12OSN mailing list