Personally I don't like NFS's lack of security, someone* could fiddle with uids and get access. There's probably a Windows (or Android, or iPhone, or...) client app with a GUI that lets you manually enter the uid it connects as.
I'm not keen on connecting two linux boxes via a Microsoft technology, but it's more secure. If you have your passwords in sync there's a pam module that will automatically mount a drive when you login. There's probably also a pam module to keep them in sync.
*of course I don't think those someones are on my network, but hey...
Neil
On 03/05/2013 12:02, steve-ALUG@hst.me.uk wrote:
Hi Guys,
I tried setting up NFS last night and I got it to work, but it was so slow compared to the Samba share I used to use. I've been meaning to try and set up NFS for ages. I was thinking that it was probably the best way to share files between my server and laptops, maintaining appropriate Linux user names/rights etc for files, rather than the kludgey way I have my Samba set up.
I got it working using http://czarism.com/easy-peasy-ubuntu-linux-nfs-file-sharing
and then I looked at https://help.ubuntu.com/community/SettingUpNFSHowTo
and I was trying to make it a bit more secure by editing hosts.deny/allow as described. Sometime during this modification, I managed to break it completely.
So my questions: Is nfs the way to go to share files & directories from a server to laptops, or should I stick with Samba?
Is the Ubuntu link above a sensible way of setting things up? I was thinking I'd just manually keep the user names/numbers in sync between the computers - is that OK? Is there a better way of doing things?
I think it's stopped working because rpcbind can't link to localhost. I think I know how to fix it, but can't spare the time at the moment.
Any thoughts? Thanks in advance! :-)
Steve
main@lists.alug.org.uk http://www.alug.org.uk/ http://lists.alug.org.uk/mailman/listinfo/main Unsubscribe? See message headers or the web site above!
No virus found in this message. Checked by AVG - www.avg.com Version: 2013.0.3272 / Virus Database: 3162/6293 - Release Date: 05/03/13