Tuesday, April 3, 2012

NIS check

What domain the machine is a member


# domainname

 
Which server the machine is bound to


# ypwhich

 
Are the server’s daemons running


# rpcinfo -p NIS_hostname_server

Are the server’s map files configured properly


# yppoll -h NIS_hostname_server -d domain_name passwd.byname

 
Which users are listed in the passwd map


# ypcat -k passwd.byname