| 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://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
| X-Injected-Via-Gmane: | http://gmane.org/ |
| To: | cygwin AT cygwin DOT com |
| From: | =?ISO-8859-1?Q?Ren=E9_Haber?= <rene DOT haber AT gmx DOT de> |
| Subject: | Re: Windows 2003 Server & Cygwin Cron |
| Date: | Tue, 11 Nov 2003 19:13:33 +0100 |
| Lines: | 31 |
| Message-ID: | <bor8se$b95$1@sea.gmane.org> |
| References: | <NPEOLGGPKHICABBIJEIBCELECCAA DOT brian AT cruik DOT org> <20031111090253 DOT GO18706 AT cygbert DOT vinschen DOT de> |
| Mime-Version: | 1.0 |
| 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 <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 > > And then create a cron service using that account: > cygrunsrv -I cron -p /usr/sbin/cron -a -D -u cron_server -w <passwd> 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |