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 X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: =?ISO-8859-1?Q?Ren=E9_Haber?= Subject: Re: Windows 2003 Server & Cygwin Cron Date: Tue, 11 Nov 2003 19:13:33 +0100 Lines: 31 Message-ID: References: <20031111090253 DOT GO18706 AT cygbert DOT vinschen DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet AT sea DOT gmane DOT org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.5) Gecko/20031008 Thunderbird/0.3 X-Accept-Language: en-us, en In-Reply-To: <20031111090253.GO18706@cygbert.vinschen.de> Hello Corinna Corinna Vinschen wrote: > The easiest way is to follow the ssh-host-config script in > creating a special account: > > 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 > > And then create a cron service using that account: > cygrunsrv -I cron -p /usr/sbin/cron -a -D -u cron_server -w I've tried this and it doesn't work. The cron service starts and shuts down immediately with an error. In the Windows syslog i found: [...] CYGWIN crond : PID 288 : starting service `CYGWIN crond' failed: execv: 1, Operation not permitted. René -- 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/