Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Unix's 40th Birthday
- Date: Sat, 22 Aug 2009 16:09:09 +0900
- From: Curt Sampson <cjs@example.com>
- Subject: Re: [tlug] Unix's 40th Birthday
- References: <20090820153054.GA30282@example.com> <871vn659mm.fsf@example.com> <20090821005532.GB17967@example.com> <87ws4x50ia.fsf@example.com> <20090821093044.GA1520@example.com> <4A8E6B71.70003@example.com> <20090821122215.GD1520@example.com> <4A8EBAD2.9090108@example.com> <20090822033006.GC4581@example.com> <878whc4cm4.fsf@example.com>
- User-agent: Mutt/1.5.18 (2008-05-17)
On 2009-08-22 14:54 +0900 (Sat), Stephen J. Turnbull wrote: > Curt Sampson writes: > > > Speaking of security, is there some simple way to convince the linux > > kernel to let a non-root application bind to a port under 1024? > > ISTR that somebody wrote a wrapper that would do basically what ssh > does: start as a privileged user, acquire resources, then drop > privileges and exec your process. Yes, and many of the programs I use have this functionality built in, but a) you need to trust it, and b) you need further configuration to figure out what user you're supposed to become (which is of course, a further chance for error). > I don't know how it passed the > resources or if sockets would be one of the resources handled. You can leave file handles open across forks. > Doesn't inetd do something like that? Hmm...that's a thought, actually; I'd forgotten that inetd can pass a socket to a process and the process can listen for new connections. Though that's still more external configuration, since you now have to update the inetd.conf when you want to take the server down. cjs -- Curt Sampson <cjs@example.com> +81 90 7737 2974 Functional programming in all senses of the word: http://www.starling-software.com
- Follow-Ups:
- Re: [tlug] Unix's 40th Birthday
- From: Stephen J. Turnbull
- References:
- Re: [tlug] Unix's 40th Birthday
- From: Curt Sampson
- Re: [tlug] Unix's 40th Birthday
- From: Stephen J. Turnbull
- Re: [tlug] Unix's 40th Birthday
- From: Curt Sampson
- Re: [tlug] Unix's 40th Birthday
- From: Stephen J. Turnbull
- Re: [tlug] Unix's 40th Birthday
- From: Curt Sampson
- Re: [tlug] Unix's 40th Birthday
- From: Edward Middleton
- Re: [tlug] Unix's 40th Birthday
- From: Curt Sampson
- Re: [tlug] Unix's 40th Birthday
- From: Edward Middleton
- Re: [tlug] Unix's 40th Birthday
- From: Curt Sampson
- Re: [tlug] Unix's 40th Birthday
- From: Stephen J. Turnbull
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Unix's 40th Birthday
- Next by Date: Re: [tlug] Unix's 40th Birthday
- Previous by thread: Re: [tlug] Unix's 40th Birthday
- Next by thread: Re: [tlug] Unix's 40th Birthday
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links