Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Mon, 8 Mar 2004 18:49:59 -0500
From: "Pierre A. Humblet" <pierre.humblet@ieee.org>
To: cygwin@cygwin.com
Subject: Re: killing processes owned by others with kill.exe
Message-ID: <20040308234959.GA260541@Worldnet>
References: <038c01c4055e$5e167010$920aa8c0@adexainc.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <038c01c4055e$5e167010$920aa8c0@adexainc.com>
User-Agent: Mutt/1.4.1i

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/

