LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-07-2007, 01:12 PM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
NFS = Bad?


Is NFS a security hole in the system or LAN? I was told by an engineer that NFS would not be something he recommend I install to use as a Linux file server. He said Samba was good but it is only for Linux boxes so I don't see why I have to hassle with Samba to simple transfer files back / fourth on a share.

Anyone recommend anything or is it safe to install NFS on a sever using it only as a file server on Debian?
 
Old 02-07-2007, 01:23 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
I think you got it a little backwards. Samba allows file sharing with Windows and Mac OS X machines, but is not particularly secure, because it implements Windows SMB/NMB/CIFS protocol. NFS is generally only used on Linux/Unix machines, and has good security functionality, if you use it.

Depending on your clients, there are several choices. For file sharing among Linux machines, I prefer FUSE with FUSE-SSHFS. This implements a mounted filesystem, in userspace, over OpenSSH - one of the most carefully implemented and scrutinized secure applications.

Last edited by macemoneta; 02-07-2007 at 01:24 PM.
 
Old 02-07-2007, 01:51 PM   #3
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
I have never heard of FUSE and FURE-SSHFS but will look into them. I would just think NFS is a more popular and more documented install process.
 
Old 02-07-2007, 02:07 PM   #4
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Fuse and fuse-ssh are pretty trivial to use, since once the software is installed and the user authorized, everything is done by the user (not an admin):

To set it up, just do this once:

$ sudo apt-get install sshfs
$ sudo adduser yourlocalusername fuse
(log out and back in so that it recognizes you as a member of the group "fuse")

Mounting is as easy as:

$ sshfs -o reconnect yourremoteusername@remotehost:somedir/ mountpoint/

To unmount:

$ fusermount -u mountpoint
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mount: wrong fs type, bad option, bad superblock on /dev/hdc3 Lordandmaker Linux - Hardware 15 06-05-2011 08:55 AM
Bad homedirectory attributes when mounting from SFU NFS Server OgeeN Linux - Software 0 07-31-2006 05:41 AM
mount: wrong fs type, bad option, bad superblock on /dev/cdrom, Adil_uk Linux - Hardware 9 02-16-2005 05:50 PM
Bad file naming during copy over NFS shares Tarrasque Linux - Networking 0 03-22-2004 06:26 AM
mount: wrong fs type, bad option, bad superblock on /dev/sdb1 pmoreira Linux - Hardware 5 02-26-2004 10:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration