delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/31/03:35:00

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <ADF57C3C368ED411803C00508BCDF1A5093A79@pc-56.cddk.dk>
From: Peter Ring <pri AT magnus DOT dk>
To: cygwin AT cygwin DOT com
Subject: RE: Press for Cygwin
Date: Fri, 31 Aug 2001 09:33:55 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)

While the article may be a bit misguided, there was a neat trick that I
didn't know about: how to get a shell running under the LocalSystem account.

"... needs to run under the security context of LocalSystem to function
properly. The easiest way to start a shell is to go to the server's command
line and type one of the following commands. If you have Task Scheduler,
type

  net start "task scheduler"

Otherwise, type

  net start schedule

Then, regardless of which scheduler you have, type

  at <current time + 1 minute> /interactive C:\winnt\system32\cmd.exe

When the specified time comes, the scheduler will launch a command shell
that LocalSystem owns. You can then use this shell ..."

Kind regards,
Peter Ring

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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