[10837] in bugtraq
Weird ps behavior
daemon@ATHENA.MIT.EDU (alpen)
Wed Jun 16 15:21:35 1999
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <37655E2B.4B738FAC@mections.net>
Date: Mon, 14 Jun 1999 15:55:24 -0400
Reply-To: alpen@mections.net
From: alpen <alpen@MECTIONS.NET>
To: BUGTRAQ@NETSPACE.ORG
This bug falls under the category of programs doing the "wrong thing"
(tm).
Under linux 2.3.5 and procps version 1.2.2:
When a user creates a process and it detaches from the current terminal,
if the
account is removed with the deluser,the process(es) stay active but
disappear from
the process table that ps (aux) scrolls. I would assume that it could be
fixed if userdel checked for active processes and terminated them before
removing the account. My C skills aren't
good enough to diagnose whether the disappearing processes are is ps or
a possible poor
decision in the control of process tables in the kernel.
Feedback?
-alpen