[K12OSN] Creating a repository in a K12LTSP server

Mike Oliveri moliveri at rb60.com
Thu Oct 26 16:45:10 UTC 2006


Samba should work, but without seeing your smb.conf it would be hard to
tell you where the trouble is.

For vsftpd, you'll want to review your configuration there, too. First I
assume you've got the daemon running, but sometimes the defaults are
locked down. I'm using vsftpd on a Slackware box and I'm able to connect
with Firefox just fine. Check these settings:

local_enable=YES
If this is NO, then nobody can log in. I think the default was NO in
Slackware.

write_enable=YES
Probably only needed if they're uploading files back to the box.

connect_from_port_20=YES
I don't recall ever having to change this, but can't hurt in case that's
what Firefox is looking for...

I would bet the first is the culprit. The vs in vsftpd is "very secure"
so it's very likely it's locked down out of the box. Remember to restart
the service/daemon if you make any changes!

Are you trying to avoid having them download extra software? Another
simple solution would be to use WinSCP (http://winscp.net/eng/index.php)
on the Windows laptops and maybe Fugu
(http://rsug.itd.umich.edu/software/fugu/) for the Macs.

Take care,
Mike


ahodson at elp.rr.com wrote:
> The problem is that the laptops that eventually will connect are PCs
> (XP) and Macs, not linux machines... I am hoping for some help with 
> the permissions issue and/or protocol like samba...
> cheers
> alan
> 
> ----- Original Message -----
> From: Mike Oliveri <moliveri at rb60.com>
> Date: Thursday, October 26, 2006 7:58 am
> Subject: RE: [K12OSN] Creating a repository in a K12LTSP server
> To: "Support list for open source software in schools." 
> <k12osn at redhat.com>
> 
>> Agreed. I would also add you can use Konqueror and the fish protocol:
>>
>> fish://ipaddress
>>
>> Think of it as a front end for scp/sftp. This way they can open a 
>> browser and be in a familiar interface, and it will prompt them for 
>> their user name and password. Again, all you need on the server is 
>> for SSH to be running. You can use a split view in the window to get 
>> a two-pane view similar to a typical FTP/SCP GUI.
>>
>> Of course, this assumes you've got KDE. I've not had enough hands-on 
>> with K12LTSP (yet) to know for a fact if this will work.
>>
>> Take care,
>> Mike
>>
>> -----Original Message-----
>> From: k12osn-bounces at redhat.com [mailto:k12osn-bounces at redhat.com] On

>> Behalf Of Petre Scheie
>> Sent: Thursday, October 26, 2006 8:25 AM
>> To: Support list for open source software in schools.
>> Subject: Re: [K12OSN] Creating a repository in a K12LTSP server
>>
>> Alan-
>> Check out sshfs.  Basically, it allows one to mount a remote file 
>> systemover ssh.  It runs in user space so regular, non-root users can

>> use it.
>> It uses fuse which is the mechanism used in LTSP 4.2 to provide Local

>> Device Access to USB sticks on the dekstop, etc.  You don't need 
>> anything on the remote server other than ssh which you said you've 
>> already got.  If the name of the remote directory is the same as the 
>> user's ID on the local machine, you could easily create a script or a

>> launcher that sets it up, passing the user ID as a parameter, and 
>> then the user can just click on an icon to access the files.
>>
>> Petre
>>
>> 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
>> resultis
>>> 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>
>>>
>> _______________________________________________
>> K12OSN mailing list
>> K12OSN at redhat.com
>> https://www.redhat.com/mailman/listinfo/k12osn
>> For more info see <http://www.k12os.org>
>>
>> _______________________________________________
>> K12OSN mailing list
>> K12OSN at redhat.com
>> https://www.redhat.com/mailman/listinfo/k12osn
>> For more info see <http://www.k12os.org>
>>
> 
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
> 

_______________________________________________
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