Re: Privileged Port Puzzle

2005-03-11 Thread Juergen Salk
Steve Greenland <[EMAIL PROTECTED]> wrote: >> However, this is obviously not the way imagectn is >> supposed to work. > Uh, why not? > If (uid==0) { > bind to specified port; > setuid("imagectn"); /* or "nobody" */ > setgid("imagectn"); > } else { > bind to specified n

Re: Privileged Port Puzzle

2005-03-11 Thread Joel Aelwyn
On Fri, Mar 11, 2005 at 01:40:49PM +0100, Juergen Salk wrote: > > Most services (like apache, e.g.) follow a different approach: > They have to be run by root initially, and drop privileges as > soon as they have done binding their privileged ports. However, > this is obviously not the way image

Re: Privileged Port Puzzle

2005-03-11 Thread Steve Greenland
On 11-Mar-05, 06:40 (CST), Juergen Salk <[EMAIL PROTECTED]> wrote: > Most services (like apache, e.g.) follow a different approach: > They have to be run by root initially, and drop privileges as > soon as they have done binding their privileged ports. However, > this is obviously not the way im