home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.sun.admin:8048 alt.sys.sun:3355
- Path: sparky!uunet!olivea!spool.mu.edu!agate!stanford.edu!rutgers!cmcl2!adm!afterlife!svfenge
- From: svfenge@afterlife.ncsc.mil (Steven Fenger)
- Newsgroups: comp.sys.sun.admin,alt.sys.sun
- Subject: Re: RPC based daemons using reserved ports.
- Keywords: RPC mountd lockd ypupdated
- Message-ID: <1992Nov7.182357.29578@afterlife.ncsc.mil>
- Date: 7 Nov 92 18:23:57 GMT
- References: <1992Nov4.214635.24263@cci632.cci.com>
- Organization: The Great Beyond
- Lines: 13
-
- In article <1992Nov4.214635.24263@cci632.cci.com> djh@cci632.cci.com (Daniel J. Hazekamp) writes:
- >I am having a problem with rpc.mountd, rpc.lockd, and rpc.ypupdated using ports
- >that have been reserved by putting entries in /etc/services. Iv'e put in entries
- >for both tcp and udp. Do these daemons bother to check /etc/services before
- >using a port?? Does /etc/services need to be sorted numerically??
-
- Putting entries in /etc/services does not reserve a port number.
- /etc/services just provides the port number to service name mapping
- for the function getrpcbyname. You need to change your code away from
- the ports the rpc.mountd/lockd/ypupdated use.
- --
- Steven Fenger fenger@cps.msu.edu svfenge@afterlife.ncsc.mil
- What for you bury me in the cold, cold ground?
-