delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/08/18:23:52

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 8 Mar 2004 18:49:59 -0500
From: "Pierre A. Humblet" <pierre DOT humblet AT ieee DOT org>
To: cygwin AT cygwin DOT com
Subject: Re: killing processes owned by others with kill.exe
Message-ID: <20040308234959.GA260541@Worldnet>
References: <038c01c4055e$5e167010$920aa8c0 AT adexainc DOT com>
Mime-Version: 1.0
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019