linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: PATCH] Allow setuid/setgid core files
@ 2002-04-21  8:24 Willy Tarreau
  2002-04-21 14:10 ` Neil A. Wilson
  0 siblings, 1 reply; 2+ messages in thread
From: Willy Tarreau @ 2002-04-21  8:24 UTC (permalink / raw)
  To: nawilson; +Cc: linux-kernel

Hello Neil,

I think I will try your patch since I have also had the same need
several times. In fact, not dumping a setuid core seems logical
for shared systems with lots of users, but on secured servers
which only host one daemon or two, and on which there's not any
user account, it's a bit annoying. In this case, if anyone gets
in the system, he's root anyway, so the initial protection
doesn't apply.

BTW, what uid/gid will the core get ? I think that it should get
the highest level so that if someone breaks in through a service
which uses this feature and which has dropped its uid/gid, at
least he cannot read eventual cores from previous attempts.
Comments ?

Willy


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

* Re: PATCH] Allow setuid/setgid core files
  2002-04-21  8:24 PATCH] Allow setuid/setgid core files Willy Tarreau
@ 2002-04-21 14:10 ` Neil A. Wilson
  0 siblings, 0 replies; 2+ messages in thread
From: Neil A. Wilson @ 2002-04-21 14:10 UTC (permalink / raw)
  To: Willy Tarreau; +Cc: linux-kernel

On Sun, 2002-04-21 at 03:24, Willy Tarreau wrote:
> BTW, what uid/gid will the core get ? I think that it should get
> the highest level so that if someone breaks in through a service
> which uses this feature and which has dropped its uid/gid, at
> least he cannot read eventual cores from previous attempts.
> Comments ?
> 

Thanks for the feedback.  You bring up a good point here.  Currently the
dump is owned by the effective uid.  I'll look into writing it as root.

Neil



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

end of thread, other threads:[~2002-04-21 14:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-21  8:24 PATCH] Allow setuid/setgid core files Willy Tarreau
2002-04-21 14:10 ` Neil A. Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).