NIS server/client configuration

NIS Server/Client configuration YP (Yellow Pages)

=> Install/configure NIS master server
# ypinit -m

=> Install/configure NIS client
# ypinit -c

=> Dir for all yp commands
# /usr/lib/netsvc/yp

=> Make changes in this files for maps & its location
# /var/yp/Makefile

=> To push or update nis all maps
# /var/yp/make

=> Start yppasswd with all source files in src
# /usr/lib/netsvc/rpc.yppasswd -D /etc/src

=> Display all maps
# ypwhich -m

=> Display all the users from password map
# ypcat passwd

=> Default location of yp (you can run make from this location)
# /var/yp

Comments

Popular Posts