YP / NIS / NIS+ notes

From Helpful
Jump to navigation Jump to search
Linux-related notes
Linux user notes

Shell, admin, and both:

Shell - command line and bash notes · shell login - profiles and scripts ·· find and xargs and parallel · screen and tmux ·· Shell and process nitty gritty ·· Isolating shell environments ·· Shell flow control notes


Linux admin - disk and filesystem · Linux networking · Init systems and service management (upstart notes, systemd notes) · users and permissions · Debugging · security enhanced linux · PAM notes · health and statistics · Machine Check Events · kernel modules · YP notes · unsorted and muck


Logging and graphing - Logging · RRDtool and munin notes
Network admin - Firewalling and other packet stuff ·


Remote desktops



📃 These are primarily notes, intended to be a collection of useful fragments, that will probably never be complete in any sense.

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, but not everyone uses the terms very precisely, so check.


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.


What it can do

Concepts

Parts

Problems

ypserv: refused connect from <ip> to procedure ypproc_something