This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: killing processes owned by others with kill.exe
- From: "Pierre A. Humblet" <pierre dot humblet at ieee dot org>
- To: cygwin at cygwin dot com
- Date: Mon, 8 Mar 2004 18:49:59 -0500
- Subject: Re: killing processes owned by others with kill.exe
- References: <038c01c4055e$5e167010$920aa8c0@adexainc.com>
On Mon, Mar 08, 2004 at 05:40:33PM -0500, Rob S.i.k.l.o.s wrote:
> Hello,
>
> I've noticed that /bin/kill.exe is unable to kill processes that are run as
> another user (e.g. SYSTEM) (even with -f).
>
> Is this intentional?
Non privileged users can only kill their own processes.
SYSTEM and members of the Administrators group can kill any Cygwin
process.
There was a bug at some point where Cygwin processes launched directly
from Windows (e.g. cygrunsrv) could not be killed by Administrators,
but that should be fixed by now, at least in snapshots. It was caused
because of the Windows default permissions on processes.
Pierre
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/