On 2004.09.21, Andrew Grumet <[EMAIL PROTECTED]> wrote:
> /etc/coreadm.conf looks like this:
>
> COREADM_GLOB_PATTERN=/var/core/core.%f.%p
> COREADM_INIT_PATTERN=core
> COREADM_GLOB_ENABLED=no
> COREADM_PROC_ENABLED=yes
> COREADM_GLOB_SETID_ENABLED=no
> COREADM_PROC_SETID_ENABLED=no
> COREADM_GLOB_LOG_ENABLED=no

The important one is COREADM_GLOB_SETID_ENABLED which should be "yes" --
AOLserver, when started as root, uses setuid() to drop privs to run as
the non-root user.  In this case, unless COREADM_GLOB_SETID_ENABLED is
"yes", you won't get a core file.

$ coreadm -e global-setid

-- Dossy

--
Dossy Shiobara                       mail: [EMAIL PROTECTED]
Panoptic Computer Network             web: http://www.panoptic.com/
  "He realized the fastest way to change is to laugh at your own
    folly -- then you can let go and quickly move on." (p. 70)


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of 
your email blank.

Reply via email to