Authorizing a user acct to run apps using ports below 1024?
Authorizing a user acct to run apps using ports below 1024?
- Subject: Authorizing a user acct to run apps using ports below 1024?
- From: Thomas Tempelmann <email@hidden>
- Date: Wed, 1 Apr 2009 20:26:17 +0200
By default, processes can't listen on ports < 1024 unless they're
running as root, if I got it right.
Is there some way to authorize an app to open a specific port for a
user account?
The particular app I'm writing is talking to a device in the LAN via
UDP only, and that device is unfortunately using a hard-coded port
number below 1024 for its reply. Since the app I'm writing shall be
written quickly and only serves to configure the device once in a
while, writing a two-tiered app with a deamon is kind of overkill,
and debugging gets more difficult that way, too.
That's why I'm looking for such an alternative solution.
--
Thomas Tempelmann, http://www.tempel.org/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden