Re: allow user to listen on priviledged ports
From: Martin Blume (mblume_at_socha.net)
Date: 12/21/03
- Next message: Sven Köhler: "Re: allow user to listen on priviledged ports"
- Previous message: Sven Köhler: "Re: allow user to listen on priviledged ports"
- In reply to: Sven Köhler: "allow user to listen on priviledged ports"
- Next in thread: Sven Köhler: "Re: allow user to listen on priviledged ports"
- Reply: Sven Köhler: "Re: allow user to listen on priviledged ports"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 21 Dec 2003 15:43:26 +0100
"Sven Köhler" <skoehler-remove-for-no-spam@upb.de> schrieb
> hi,
>
> on windows there no problem: any user can listen on any port.
I beg to differ: that IS the problem.
> with a unix-os like linux it is common to disallow normal users
> to listen on priviledged ports. E.g. apache has to start up as
> root to listen on port 80.
as was pointed out before, only to bind to the port.
>
> what i want is to allow a user - let's say wwwrun - to listen on
> specific or all privileged ports. it this possible? is there any
> mechanism to do that?
>
You can have inetd / xinetd listen to the port, then spawn off the
server under another uid.
See man inetd.conf / man xinetd.conf
HTH
Martin
- Next message: Sven Köhler: "Re: allow user to listen on priviledged ports"
- Previous message: Sven Köhler: "Re: allow user to listen on priviledged ports"
- In reply to: Sven Köhler: "allow user to listen on priviledged ports"
- Next in thread: Sven Köhler: "Re: allow user to listen on priviledged ports"
- Reply: Sven Köhler: "Re: allow user to listen on priviledged ports"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|