Thread: NIS yp problems
View Single Post

   
  #2 (permalink)  
Old 01-16-2008, 10:20 AM
Marc La Senne
 
Posts: n/a
Default Re: NIS yp problems

take a look at /var/yp/binding/<domainename>/ypservers
You probably still have -s in it

other way, delete passwd db and run ypmake to rebuild it

cheers

Marc La Senne
Office Automation Unix
Amadeus S.A.S.
+33.(0)4.97.15.44.59

merrittr wrote:
> 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