getservbyname() call

Louis Demers louis at asterix.drev.dnd.ca
Sat Dec 23 06:36:43 AEST 1989


jsin at island.seas.ucla.edu (John Sin) writes:
>... So I added a line in /etc/services thus:
>	timed     525/udp     timeserver
>However, I found that it still does not recognize this service.  I've
>already rebooted (soft boot) the machine, but that didn't make any
>difference.  
...
>I also found that if I delete a line from /etc/services - say, smtp -
>getservbyname() still can find smtp.

Are you running  the Yellow Pages ?  Here we are and we once
encoutered the same problem on Sun's.  "/etc/services" is one of the files
"shared" by the Yellow Pages system.  The file /etc/services on
the master server is the one that need to be changed.

	Merry Xmas,

						Louis
-- 
| Louis Demers              | DREV, Defence Research Establishment,Valcartier |
| louis at asterix.drev.dnd.ca | POBox 8800, Courcelette,Quebec, CANADA, G0A 1R0 |
|            (131.132.48.2) | Office: (418) 844-4424       fax (418) 844-4511 |
+---------------------------+-------------------------------------------------+



More information about the Comp.unix.aux mailing list