LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 05-14-2009, 11:55 AM   #1
oshyno
LQ Newbie
 
Registered: May 2009
Posts: 3

Rep: Reputation: 0
Thumbs up Need a help


What is the difference between NIS(Network Information System) and NFS(Network File System)
 
Old 05-14-2009, 12:03 PM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,028
Blog Entries: 5

Rep: Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791
NIS is designed to share out information in specific files (e.g. passwd, group, hosts) so you don't have to setup the entries on each individual server.
A good example is passwd where you typically have users in /etc/passwd on local host and would have to do the useradd of each user on every server. By using NIS to create a passwd map and share it out from one NIS master you can quickly have a new user available on all hosts.

NFS on the other hand is designed to share out entire filesystems rather than specific files. A common use for this is to share /home from one server to all your other servers to save space. Every user has the same home directory on each host so you don't tie up space from each host.

If you use NIS to share out passwd and group and NFS to share out /home you can have a central server that contains all the information for your users.

Of course you wouldn't want to do this for key system accounts such as root or for the root filesystem. Also as may be obvious the downside to using NIS/NFS is that if the central server goes down then all your users on other hosts no longer function. NIS allows for slave servers to mitigate this but NFS doesn't.
 
Old 05-14-2009, 12:10 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729
Per the LQ Rules, please do not post homework assignments verbatim. We're happy to assist if you have specific questions or have hit a stumbling point, however. Let us know what you've already tried and what references you have used (including class notes, books, and Google searches) and we'll do our best to help. Also, keep in mind that your instructor might also be an LQ member.

Looking at this--and your previous thread--it seems more likely that you are posting a homework question. In the first thread, you have a reply which includes a link on how to setup NIS. I have a hunch that that link should help answer your question

Last edited by pixellany; 05-14-2009 at 12:12 PM.
 
  


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



All times are GMT -5. The time now is 01:18 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration