Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 03-26-2007, 08:47 PM   #1
Registered: Aug 2004
Location: London, UK
Distribution: Ubuntu 10.10, ubuntu 11.04, suse 9.2, OSX
Posts: 259

Rep: Reputation: 30
nfs without nis


I have a server with NFS, and NIS as a client. Most machines have NIS so it's ok I just make the group 7 (rwx) and all is good. But some users have laptops on wireless and want to mount this space. They don't use NIS. Can they have write permission even without me have to do 777 (rwxrwxrwx)
Currenly that is the way it is and I hate to do that. Mainly because I'm on a larger network and I only want the ppl in my lab to have access to it, at least write access.


Old 03-27-2007, 02:16 PM   #2
Registered: Feb 2005
Distribution: RHEL, CentOS
Posts: 113

Rep: Reputation: 16
The users of laptops should set their user accounts to use the GID of the group in question; this will let them write to this space.

Keep in mind that when you export nfs shares like this you can not trust the client, NIS or no. Any remote client that can mount the filesystem may be able to arbitrarily change UID or GIDs and read/write. For example if I have a laptop and connect it to a remote NIS/NFS, if I have local root on the laptop (which I probably do) I can su to any arbitrary user and the remote nfs service doesn't know any better.
Old 03-27-2007, 02:34 PM   #3
Registered: Aug 2004
Location: London, UK
Distribution: Ubuntu 10.10, ubuntu 11.04, suse 9.2, OSX
Posts: 259

Original Poster
Rep: Reputation: 30
WoW, I had always thought that NFS was pretty secure. So how do you export a dir securly?
Umm don't worry too much just kind of interested now. I think I trust most ppl here at the Uni


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
NIS+NFS or SSH+NFS threelions66 Linux - Networking 1 09-07-2006 02:44 AM
I need Help on NIS and NFS srikanthrao_d Linux - Hardware 9 01-22-2006 09:04 PM
[i have no name!] NIS NFS MMMarc Linux - Networking 17 02-13-2005 02:35 PM
(I have no name!)NIS,NFS MMMarc Linux - Software 0 02-08-2005 07:42 PM
NIS NFS and KDE phatality Linux - Networking 2 05-26-2004 10:32 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:00 PM.

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