delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/05/18/14:41:00

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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Tue, 18 May 2004 14:40:19 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Re: Problems listing tasks under cygwin.
In-Reply-To: <40AA571A.C2ACDB24@dessent.net>
Message-ID: <Pine.GSO.4.58.0405181438360.2073@slinky.cs.nyu.edu>
References: <NUTMEGSzKBWqUh89xIM00000163 AT NUTMEG DOT CAM DOT ARTIMI DOT COM> <40AA571A DOT C2ACDB24 AT dessent DOT net>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

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 AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT 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/

- Raw text -


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