NIS questions

zhicheng wang wang_zc at yahoo.co.uk
Thu Oct 7 10:23:55 UTC 2004


Dear all

i have a few questions about nis. i am using RHEL AS3
and the yp suite come with it (ypserv/tools 2.8)

1. ypinit -m does not push the maps to slave servers
(i do have the correct hostnames in
/var/yp/ypservsers, generated by ypinit -m and
NOPUSH=false in /var/yp/Makefile). I looked at the
ypinit script, it has a line 
cd $YPMAPDIR && make NOPUSH=true

so even i changed the Makefile to have NOPUSH=false,
it will be overidden by the ypinit? if so, why?

i can manually run yppush with no problem.

2. ypxfrd (on slave) dose not update the maps, even i
have put trusted_master: my.master.server in
/etc/ypserv.con

again, i can manually run ypxfr without problem

3. most importantly, yppasswd can only change the
passwd in the master server. how to make the updated
passwd (yppasswd) pushed to slave server automatically
whenever users changed their passwd?

many thanks
cheng


=====
Best wishes
Z C Wang


	
	
		
___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun!  http://uk.messenger.yahoo.com




More information about the redhat-list mailing list