Thread: NIS yp problems
View Single Post

   
  #1 (permalink)  
Old 01-16-2008, 09:20 AM
merrittr
 
Posts: n/a
Default NIS yp problems

Hi
i have a NIS master called mackenzie a couple of days ago its host
name was renamed to
"-s" (accidentally had a .login with set prompt="`/bin/hostname
-s`:$USER> " the hostname -s did it). anyway I renamed it back but the
password db still thinks its called -s how do I get it to look at
mackenzie again?

mackenzie# ypwhich -m
netgroup.byhost mackenzie
hosts.byaddr mackenzie
netid.byname mackenzie
ethers.byaddr mackenzie
pcnfs mackenzie
image mackenzie
auto.home mackenzie
timezone.byname mackenzie
netmasks.byaddr mackenzie
passwd.byuid -s
ethers.byname mackenzie
amd.home mackenzie
publickey.byname mackenzie
aed.disk mackenzie
mail.aliases mackenzie
netgroup.byuser mackenzie
passwd.byname -s
bootparams mackenzie
protocols.byname mackenzie
protocols.bynumber mackenzie
netgroup mackenzie
rpc.bynumber mackenzie
networks.byaddr mackenzie
networks.byname mackenzie
disabled mackenzie
group.bygid mackenzie
group.byname mackenzie
hosts.byname mackenzie
services.byname mackenzie
mail.byaddr mackenzie
ypservers mackenzie

Reply With Quote