delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/08/13:48:59

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Date: Mon, 8 Nov 2004 13:48:43 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: "Rebstock, Roland" <Roland DOT Rebstock AT usi DOT net>
cc: cygwin AT cygwin DOT com
Subject: RE: Cygwin Cron - Cannot Switch user context
In-Reply-To: <E7650E6BCAF2414E8134C60A29AE28807B42D6@ms3aex05.USIEXCHANGE.COM>
Message-ID: <Pine.GSO.4.61.0411081344410.9321@slinky.cs.nyu.edu>
References: <E7650E6BCAF2414E8134C60A29AE28807B42D6 AT ms3aex05 DOT USIEXCHANGE DOT COM>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Mon, 8 Nov 2004, Rebstock, Roland wrote:

> All, I have a Win2k3 server with cygwin. I cannot get cron to execute
> any jobs that previously ran under Win2k.  The error is " Cannot Switch
> user Context".  Is there a solution?
>
> CYGWIN_NT-5.2  1.5.5
>
> Roland Rebstock

Win2k3's SYSTEM account by default doesn't have all the rights necessary
to switch user contexts.  One (rather non-obvious, IMO) place to find some
details on this is /usr/share/doc/Cygwin/openssh.README.  This information
(verbatim from the above README, from "Important note for Windows 2003
Server users" to "Increase quota") should really be part of
<http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-SWITCH>.
HTH,
	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!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
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