[Snort-devel] Re: SIGHUP doesn't work

Martin Roesch roesch at ...402...
Tue Sep 23 19:01:03 EDT 2003


You're right, of course, my 6 month old's sleeping habits (or rather 
lack thereof) aren't conducive to the best critical thinking some 
days...

      -Marty

On Tuesday, September 23, 2003, at 01:43  AM, Denny Page wrote:

>>> BTW, can you not do a setreuid() back to root since the saved uid
>>> is root?
>>
>> Yes you can, we should do that.
>
> No, you shouldn't.  :-)
>
> Once you've done a setuid to discard privilege, you should not 
> reinstate it
> for any reason.
>
> Denny
>
>
-- 
Martin Roesch - Founder/CTO, Sourcefire Inc. - (410)290-1616
Sourcefire: Enterprise-class Snort-based IDS Infrastructure
roesch at ...402... - http://www.sourcefire.com
Snort: Open Source Network IDS - http://www.snort.org





More information about the Snort-devel mailing list