Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Fedora 7, Fedora 9, Solaris 10, Mac OS X, RHEL5
Posts: 71
Rep:
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.
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+.
Distribution: Fedora 7, Fedora 9, Solaris 10, Mac OS X, RHEL5
Posts: 71
Original Poster
Rep:
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.