Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Subject: RE: More Info - Cygwin Cron - Cannot Switch user context Date: Tue, 9 Nov 2004 10:31:14 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Rebstock, Roland" To: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id iA9FVwF0004769 This resolved the issue net user cron_server /add /yes net localgroup cron_server /add editrights -a SeAssignPrimaryTokenPrivilege -u cron_server editrights -a SeCreateTokenPrivilege -u cron_server editrights -a SeIncreaseQuotaPrivilege -u cron_server editrights -a SeServiceLogonRight -u cron_server mkpasswd -l -u cron_server >> /etc/passwd For security reasons: editrights -a SeDenyInteractiveLogonRight -u cron_server editrights -a SeDenyNetworkLogonRight -u cron_server editrights -a SeDenyRemoteInteractiveLogonRight -u cron_server give "cron_server" permission to write on the "/var/run/cron.pid" and "/var/log/cron.log" And then create a cron service using that account: cygrunsrv -I cron -p /usr/sbin/cron -a -D -u cron_server -w -----Original Message----- From: Brian Ford [mailto:ford AT vss DOT fsi DOT com] Sent: Tuesday, November 09, 2004 10:15 AM To: Rebstock, Roland Cc: cygwin AT cygwin DOT com Subject: Re: More Info - Cygwin Cron - Cannot Switch user context On Mon, 8 Nov 2004, Rebstock, Roland wrote: > CYGWIN_NT-5.2 1.5.5 Two simple suggestions: Upgrade. Cygwin 1.5.5 is now very old. I'd try 1.5.10, or a snapshot. Have you attached cygcheck output yet? I don't remember seeing it. -- Brian Ford Senior Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International the best safety device in any aircraft is a well-trained pilot... -- 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/