delorie.com/archives/browse.cgi | search |
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 |
MIME-Version: | 1.0 |
Subject: | RE: More Info - Cygwin Cron - Cannot Switch user context |
Date: | Tue, 9 Nov 2004 10:31:14 -0500 |
Message-ID: | <E7650E6BCAF2414E8134C60A29AE28807B4461@ms3aex05.USIEXCHANGE.COM> |
X-MS-Has-Attach: | |
X-MS-TNEF-Correlator: | |
From: | "Rebstock, Roland" <Roland DOT Rebstock AT usi DOT net> |
To: | <cygwin AT cygwin DOT com> |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id iA9FVwF0004769 |
This resolved the issue net user cron_server <passwd> /add /yes net localgroup <administrators_group_name> 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 <passwd> -----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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |