🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by fkam Thu, 27 Jun 1991 20:22
make inetd assign privilege port
#8628
Author: fkam
Date: Thu, 27 Jun 1991 20:22
40 lines
1285 bytes
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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads