public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Igor Pechtchanski <pechtcha@cs.nyu.edu>
To: cygwin@cygwin.com
Subject: Re: Problems listing tasks under cygwin.
Date: Tue, 18 May 2004 18:49:00 -0000	[thread overview]
Message-ID: <Pine.GSO.4.58.0405181438360.2073@slinky.cs.nyu.edu> (raw)
In-Reply-To: <40AA571A.C2ACDB24@dessent.net>

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/

  reply	other threads:[~2004-05-18 18:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-18  8:07 alejandro.sanchez
2004-05-18 16:58 ` Larry Hall
2004-05-18 17:03 ` Dave Korn
2004-05-18 18:40   ` Brian Dessent
2004-05-18 18:49     ` Igor Pechtchanski [this message]
2004-05-19  9:23     ` [OT] " Dave Korn
2004-05-19  9:29       ` Brian Dessent
2004-05-19 14:03         ` Brian Ford
2004-05-20 13:22           ` Dave Korn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.GSO.4.58.0405181438360.2073@slinky.cs.nyu.edu \
    --to=pechtcha@cs.nyu.edu \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).