From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31587 invoked by alias); 18 May 2004 18:40:22 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 31554 invoked from network); 18 May 2004 18:40:20 -0000 Received: from unknown (HELO slinky.cs.nyu.edu) (128.122.20.14) by sourceware.org with SMTP; 18 May 2004 18:40:20 -0000 Received: from slinky.cs.nyu.edu (localhost [127.0.0.1]) by slinky.cs.nyu.edu (8.12.10+Sun/8.12.10) with ESMTP id i4IIeJUS017937 for ; Tue, 18 May 2004 14:40:20 -0400 (EDT) Received: from localhost (pechtcha@localhost) by slinky.cs.nyu.edu (8.12.10+Sun/8.12.2/Submit) with ESMTP id i4IIeJnY017934 for ; Tue, 18 May 2004 14:40:19 -0400 (EDT) X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Tue, 18 May 2004 18:49:00 -0000 From: Igor Pechtchanski Reply-To: cygwin@cygwin.com To: cygwin@cygwin.com Subject: Re: Problems listing tasks under cygwin. In-Reply-To: <40AA571A.C2ACDB24@dessent.net> Message-ID: References: <40AA571A.C2ACDB24@dessent.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanned-By: MIMEDefang 2.39 X-SW-Source: 2004-05/txt/msg00653.txt.bz2 On Tue, 18 May 2004, Brian Dessent wrote: > Dave Korn wrote: > > > Actually, SYSTEM has higher privileges in general than root. It may > > well be impossible to kill some tasks belonging to system because they > > may not allow full access even to users with admin rights. The error > > message may be misleading, and maybe it should be saying "Access > > denied". > > FYI, you can kill SYSTEM processes as a regular user administrator > account using Process Explorer from sysinternals.com. I haven't checked > but I believe the program installs a helper driver that runs as SYSTEM > to perform these actions as proxy for the user. A lot of the > sysinternals tools do something like that it seems. > > Brian ...Which means that currently in Cygwin one should be able to kill a SYSTEM-owned task from a SYSTEM-owned shell (using the "at /interactive" trick), and that once "su via cygserver" is operational, one can simply do "su SYSTEM kill PID"... Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- 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/