LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 03-26-2007, 07:47 PM   #1
PB0711
Member
 
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


Hello,

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.

Thank

PB
 
Old 03-27-2007, 01:16 PM   #2
mackdav
Member
 
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, 01:34 PM   #3
PB0711
Member
 
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
 
  


Reply


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


All times are GMT -5. The time now is 03:49 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration