Path: utzoo!utgpu!cunews!bnrgate!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request From: fkam@sodium.asia.sun.com Newsgroups: comp.sys.sun Subject: make inetd assign privilege port Keywords: No Digest Subjects during Flush Message-ID: <3960@brchh104.bnr.ca> Date: 27 Jun 91 20:22:00 GMT Sender: news@brchh104.bnr.ca Organization: Sunspots, Flush Mode Lines: 41 Approved: sun-spots@rice.edu X-Original-Date: 12 Jun 91 13:34:57 GMT How do you force inetd to assign a priviledged port to a rpc deamon on SunOS 4.1.1? I've put a line in /etc/inetd.conf as: abcd/1 dgram rpc/udp wait root /usr/etc/rpc.abcd rpc.abcd Another line in /etc/services as: abcd 1023/udp which I don't think it cares. And finally a line in /etc/rpc as: abcd 100036 abcd If abcd is started up manually, rpcinfo -p shows that it occupies port# 1023 with program id 100036. When it's started up by inetd instead, inetd assigns port number greater than 1024 for abcd. I need it to be less than 1024, any idea? My appreciation to your enlightening. -- francis -- Francis Kam SUN Microsystems (Asia) Customer Service francis.kam@asia.sun.com * Disclaimer: the opinion is strictly of my own, and in particular, NOT from my employer.