From: rsalz@osf.org (Rich Salz)
Subject: Re: Binding privilaged ports
Date: 23 Feb 1995 16:37:30 GMT [thread overview]
Message-ID: <3iidka$ltq@paperboy.osf.org> (raw)
In-Reply-To: 3ie3j4$f59@news.unimelb.EDU.AU
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$
prev parent reply other threads:[~1995-02-23 16:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-02-22 1:21 Binding privilaged ports Richard Begg
1995-02-23 16:37 ` Rich Salz [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox