[lug] Silly Question

Chip Atkinson catkinson at circadence.com
Thu Oct 4 10:01:55 MDT 2001


You might look into tunnelling nfs over ssh.  I've also used linux's 
smbmount to mount drives on an HPUX box that was shared by Samba.

Holshouser, David wrote:

> As I've heard mentioned before, NFS is insecure.
> Is there a better way, a recommended way, to share/mount drives securely. 
> 
> I am looking forward to moving a box and finding a way to share a dir across
> the Internet and would like to find a way to make this transparent to the
> end users.
> 
> Anything that would suffice?
> 
> 
>> -----Original Message-----
>> From: Scott A. Herod [mailto:herod at interact-tv.com]
>> Sent: Thursday, October 04, 2001 9:50 AM
>> To: lug at lug.boulder.co.us
>> Subject: Re: [lug] Silly Question
>> 
>> 
>> The really short answer is NFS.
>> 
>> http://www.redhat.com/mirrors/LDP/HOWTO/NFS-HOWTO/index.html
>> 
>> A longer answer, One machine (the one with the disk) acts as 
>> the server.
>> It needs to start nfs, "/etc/init.d/nfs start" and have an export list
>> that looks like:
>> 
>> /share/music       *.my-domain.com(rw)
>> /share/games       *.my-domain.com(rw)
>> /share/toys        *.my-domain.com(rw)
>> /share/stuff       *.my-domain.com(rw)
>> 
>> This lise needs to be exported using exportfs ( man exportfs ).
>> 
>> The client machine needs to have a mount list in /etc/fstab with lines
>> like:
>> 
>> host.my-domain.com:/share/music     /mp/music    nfs     
>> exec,dev,suid,rw,bg 1 1 
>> 
>> Then mount everything on the client with 'mount -a'.
>> 
>> All of this should be carefully hidden behind a firewall because NFS
>> mounting
>> is very insecure.  I've probably left out a bunch of stuff.  If the
>> HOWTO
>> doesn't help, I'm happy to anwer other questions.
>> 
>> Scott
>> 
>> Shannon Johnston wrote:
>> 
>>> Here's a silly question - I just realized I've never done it before.
>>> How do you share drives between linux machines?
>>> 
>>> Shannon Johnston
>>> nunar at nunar.com
>>> --------------------------------
>> 
>> _______________________________________________
>> Web Page:  http://lug.boulder.co.us
>> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
>> 
> 
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug




More information about the LUG mailing list