Difference between revisions of "YP / NIS / NIS+ notes"

From Helpful
Jump to: navigation, search
m
m
 
Line 8: Line 8:
  
  
It's useful in, say, a cluster or just using NFS, or a bunch of workstations you want to cooperate tightly.
+
Upsides:
 +
* eases managementy in, say, a cluster or just using NFS, or a bunch of workstations you want to cooperate tightly.
  
 +
Downsides:
 +
* it's an extra step on top of your usual per-host management (some parts are relatively manual)
 +
* doesn't scale very nicely to very large setups,
 +
* not all implementations are terribly secure
 +
...so in large setups also see other systems<!--, such as those based on [[LDAP]]-->.
  
YP is an extra step on top of your usual per-host management (some parts are relatively manual), doesn't scale very nicely to very large setups,
 
and not all implementations are terribly secure, so in large setups also see other systems<!--, such as those based on [[LDAP]]-->.
 
  
YP has a learning curve, largely because when you centralize users you often want to another half dozen other things.
+
YP has a learning curve, largely because when you centralize users, you often also want to another half dozen other things.
  
  

Latest revision as of 15:36, 3 December 2019

Linux-related notes
Linux user notes

Shell, admin, and both:

Shell - command line and bash notes · shell login - profiles and scripts · Shells and execution ·· find and xargs and parallel · screen and tmux
Linux admin - disk and filesystem · users and permissions · Debugging · security enhanced linux · health and statistics · kernel modules · YP notes · unsorted and muck
Logging and graphing - Logging · RRDtool and munin notes
Network admin - Firewalling and other packet stuff ·


Remote desktops
VNC notes
XDMCP notes



These are primarily notes
It won't be complete in any sense.
It exists to contain fragments of useful information.

YP (Yellow Pages) / NIS (Network Information Service) is an RPC-style system that lets you synchronize system configuration between hosts, and seems primarily used specifically to handle simple centralized accounts (for logins, or or just to keep UIDs and GIDs synchronized).

Generally, NIS and YP refers to version 2, NIS+ to NIS version 3.


Upsides:

  • eases managementy in, say, a cluster or just using NFS, or a bunch of workstations you want to cooperate tightly.

Downsides:

  • it's an extra step on top of your usual per-host management (some parts are relatively manual)
  • doesn't scale very nicely to very large setups,
  • not all implementations are terribly secure

...so in large setups also see other systems.


YP has a learning curve, largely because when you centralize users, you often also want to another half dozen other things.


What it can do

Concepts

Parts

Problems

ypserv: refused connect from <ip> to procedure ypproc_something