LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 01-02-2008, 09:52 AM   #1
geek_man
Member
 
Registered: Nov 2007
Distribution: Fedora 7, Fedora 9, Solaris 10, Mac OS X, RHEL5
Posts: 71

Rep: Reputation: 15
Question NFS and NIS


Hi!

I am trying to install an NFS server with NIS. I have read about this, but now I have some questions:

Can I have both in a single computer? (NFS + NIS). There are 13 computers in the network, so I don't need an NIS slave, am I right?

If I have this system (NFS+NIS), can I have a /home partition in a host computer and the user, doesn't matter who is because of the NIS, can write to that partition?

I have this doubt because I don't want the users to write everything to the NFS server (only file sharing), but I still want to have a centralized user control.

Thanks.
 
Old 01-02-2008, 10:09 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
one computer is fine. the two really having nothing to do with each other, more a coincidental solution using multiple technologies.

the user would matter, that's the point. as the user only exists on the nis service itself, that user can log in anywhere and all files on the *shared* /home/username directory will already be owned by that user.

generally ldap has replaced nis+ these days, if you're in a green field location, ldap is much more modern and extensible. lots of software, appliances etc, can hook directly into LDAP, but not NIS+.
 
Old 01-02-2008, 10:34 AM   #3
geek_man
Member
 
Registered: Nov 2007
Distribution: Fedora 7, Fedora 9, Solaris 10, Mac OS X, RHEL5
Posts: 71

Original Poster
Rep: Reputation: 15
NFS and NIS

Hi!

Thanks for the answer. Now I have other question:

What should I do, if I want the users to share files with NFS (controlling the user access to files, permissions ...) but I want them to store their documents and run their applications in their own computers?
Can I do this with LDAP?
I think it is not necessary that the users can login in any machine of the network, having this in mind I don't need NIS, am I right?
 
Old 01-02-2008, 03:25 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you can't "do it" with ldap, it's really not related, as above, it's a coincidental end result, not a feature of anything... if you don't want a centralized /home then don't provide one over nfs. ldap will, along with *any* valid user-base definition mechanism (including files, nis, nis+ and many others) provide a home directory attribute. That merely coincides with the fact that NFS might mount a centralized /home is unknown to that.
 
  


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
nfs without nis PB0711 Linux - Server 2 03-27-2007 01:34 PM
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:47 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