For When You Can't Have The Real Thing
[ start | index | login ]
start > CentOS > 6 > nis > Client Setup

Client Setup

Created by dave. Last edited by dave, 2 years and 86 days ago. Viewed 664 times. #1
[edit] [rdf]

NIS client setup cookbook


DOMAIN=my.nis.domain SERVERIP=""

rpm -ivh >> yum -y install ypbind rpcbind

ypdomainname $DOMAIN echo "NISDOMAIN=$DOMAIN" >> /etc/sysconfig/network echo "$SERVERIP $SERVERNAME' >> /etc/hosts authconfig --enablenis --nisdomain=$DOMAIN --nisserver=$SERVERNAME --update chkconfig rpcbind on chkconfig ypbind on echo 'session optional skel=/etc/skel umask=077' >> /etc/pam.d/password-auth echo 'session optional skel=/etc/skel umask=077' >> /etc/pam.d/system-auth

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt