make inetd assign privilege port
fkam at sodium.asia.sun.com
fkam at sodium.asia.sun.com
Fri Jun 28 06:22:00 AEST 1991
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 at asia.sun.com
* Disclaimer:
the opinion is strictly of my own, and in particular, NOT from my employer.
More information about the Comp.sys.sun
mailing list