Authorizing a user acct to run apps using ports below 1024?
site_archiver@lists.apple.com Delivered-To: macnetworkprog@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=Skv6sCag9RAdAm0UE3LCKCchvsKX3fKemdQLrlVmdQc=; b=Al7VDOUcLXR5380wtQExLm5wTX0vfKsy1UNykq2wghAXW/1R3cnXVwd6Hue5dArM6m N1QlwU61NWaaJ4Un7E6f9i9cQLyUR2ti51+ch0isv2wbZyz9oXXtDRafEMqgOVHBtIrP QWsQswnFG2lFFSHqGFmFuKQ4ZoS/Mz62YMZtE= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=m3pdXVf8c3i6uFgBkMuKNfzZ+JR7LZZ1i9YUGB7BqJgwhj/JUFQVt/8c+ojUFaI8Tl P7fiEI47NzuZMoe6Upu11o5J4A3PhI8wW5v++BXxxhFgljfh2n7h0MqlqXZ2Wjn1KLdv L/rvbLoBvRBw+icVNJbuTX0QuAjNUWS7GehPA= 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 (Macnetworkprog@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/macnetworkprog/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Thomas Tempelmann