* Binding privilaged ports
@ 1995-02-22 1:21 Richard Begg
1995-02-23 16:37 ` Rich Salz
0 siblings, 1 reply; 2+ messages in thread
From: Richard Begg @ 1995-02-22 1:21 UTC (permalink / raw)
We have a need for an otherwise non-privilaged user to bind
specific privilaged ports (e.g. 80). Is there any way this
can be done without full root access.
We are running DEC OSF/1 v3.0 with enhanced security.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Binding privilaged ports
1995-02-22 1:21 Binding privilaged ports Richard Begg
@ 1995-02-23 16:37 ` Rich Salz
0 siblings, 0 replies; 2+ messages in thread
From: Rich Salz @ 1995-02-23 16:37 UTC (permalink / raw)
In <3ie3j4$f59@news.unimelb.EDU.AU> Richard Begg <richard@pitlochry.its.unimelb.EDU.AU> writes:
>We have a need for an otherwise non-privilaged user to bind
>specific privilaged ports (e.g. 80). Is there any way this
>can be done without full root access.
No.
The safest thing to do is provide a small setuid wrapper program that
opens the port, binds to it, and then passes the open descriptor down
to the child program as a command-line parameter. For an example,
see "inndstart" in the INN distribution if you have it lying around.
/r$
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1995-02-23 16:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-02-22 1:21 Binding privilaged ports Richard Begg
1995-02-23 16:37 ` Rich Salz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox