Jump to content
The mkiv Supra Owners Club

unix help


paul_y3k

Recommended Posts

there are better places to ask these sorts of questions matey!! lol :)

I've never used NIS, but it's basically a lookup service for various things like usernames, hosts, et cetera.

 

For example, in your /etc/resolv.conf , which would normally have a list of nameservers (DNS) to use, the first line would be the "order" line, which would say:

 

order hosts,bind

 

this means that any name resolution should first look at the hosts file (/etc/hosts), and then go to the configured DNS server (bind being the Berkely Internet Name Daemon... the defacto DNS server).

 

Now, that line could say:

 

order hosts,nis,bind

 

meaning the configured NIS server would be used for host lookups (after the hosts file of course..)

 

A similar sort of thing applies to the /etc/passwd file, although I have no idea how it's configured. I guess on a Linux machine it would be configured though as a pam module. In this instance it makes far more sense, and can be thought of a little bit like a Windows NT PDC or simplified ctive Directory Server. Imagine a load of workstations on a network, well you wouldn't want to have to manually update the /etc/passwd file with username and passwords for each person who may feasably log onto a machine, so the machines would be configured to consult the NIS server for checking usernames and passwords.

 

I think that's the idea anyway. It may work in tanden with Kerberos somewhere, since krb actually does the job of authentication on a network, so it seems silly to me that NIS would reinvent that.

 

HTH. Definately worth googling or finding a good *nix forum.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. You might also be interested in our Guidelines, Privacy Policy and Terms of Use.