From: "Sven Köhler" <skoehler@upb.de>
To: linux-kernel@vger.kernel.org
Subject: allow process or user to listen on priviledged ports?
Date: Wed, 24 Dec 2003 17:43:09 +0100 [thread overview]
Message-ID: <bscg1m$1eg$1@sea.gmane.org> (raw)
Hi,
don't blame me for asking such a question in the LKML, but i already
asked it in other linux-newsgroups. i haven't got any real answer yet.
my problem is, that i want an application to listen on a priviledged
port (e.g. port 80) and to run as a "normal" unpriviledged user (e.g.
wwwrun). Well - how? The application is not a C/C++-application, so i
cannot ask the author (myself) to implement a mechanism to switch the
userid (e.g. like apache does it).
So is there any machanism to bind that permission (to listen on a
priviledged tcp-port) to a specific user or a specific process?
The application is written in Java. Of course Java could implement
userid-switching, but the linux could also have an ACL for that. So
please don't answer with "go and ask Sun for that feature". I already
considered that.
Thx
Sven
next reply other threads:[~2003-12-24 16:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-24 16:43 Sven Köhler [this message]
2003-12-24 17:02 ` allow process or user to listen on priviledged ports? Michael Buesch
2003-12-24 17:23 ` Olaf Dietsche
2003-12-24 21:34 ` Adam Sampson
2003-12-24 21:59 ` Thomas Zehetbauer
2003-12-24 22:00 ` Eric
2003-12-25 10:45 ` Nick Craig-Wood
2003-12-25 12:18 ` Sven Köhler
2003-12-25 17:46 ` Sven Köhler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='bscg1m$1eg$1@sea.gmane.org' \
--to=skoehler@upb.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.