This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Press for Cygwin


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]