public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* allow process or user to listen on priviledged ports?
@ 2003-12-24 16:43 Sven Köhler
  2003-12-24 17:02 ` Michael Buesch
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Sven Köhler @ 2003-12-24 16:43 UTC (permalink / raw)
  To: linux-kernel

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



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-12-25 17:52 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-24 16:43 allow process or user to listen on priviledged ports? Sven Köhler
2003-12-24 17:02 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox