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 |
Message-Id: | <200312161651.hBGGpRTp024568@xunil.starwhite.net> |
From: | "Benn Schreiber" <bls AT starwhite DOT net> |
To: | <cygwin AT cygwin DOT com> |
Subject: | Re: Windows 2003 Server & Cygwin Cron |
Date: | Tue, 16 Dec 2003 08:51:26 -0800 |
MIME-Version: | 1.0 |
x-habeas-swe-3: | like Habeas SWE (tm) |
x-habeas-swe-1: | winter into spring |
x-habeas-swe-2: | brightly anticipated |
x-habeas-swe-4: | Copyright 2002 Habeas (tm) |
x-habeas-swe-5: | Sender Warranted Email (SWE) (tm). The sender of this |
x-habeas-swe-6: | email in exchange for a license for this Habeas |
x-habeas-swe-7: | warrant mark warrants that this is a Habeas Compliant |
x-habeas-swe-8: | Message (HCM) and not spam. Please report use of this |
x-habeas-swe-9: | mark in spam to <http://www.habeas.com/report/>. |
X-Starwhite.net-MailScanner-Information: | Scanner info |
X-Starwhite.net-MailScanner: | Found to be clean |
X-Starwhite.net-MailScanner-SpamScore: | 1 |
Note-from-DJ: | This may be spam |
I am running on Windows 2003 server, and set up cron_server per this note. The cron server starts just fine, but reports that it can't open tabs/theuser (where theuser is the user account name). The protection on tabs/theuser is 640 o.g is user.SYSTEM which is probably why cron server can't open it. I changed the group to administrators, which cron_server is part of, but unfortunately, a 'crontab -e' resets the group to SYSTEM. Thanks Benn From: Corinna Vinschen <corinna-cygwin at cygwin dot com> To: cygwin at cygwin dot com Date: Tue, 11 Nov 2003 10:02:53 +0100 Subject: Re: Windows 2003 Server & Cygwin Cron References: <NPEOLGGPKHICABBIJEIBCELECCAA DOT brian AT cruik DOT org> Reply-to: cygwin at cygwin dot com ________________________________________ On Mon, Nov 10, 2003 at 03:26:07PM -0700, Brian Cruikshank wrote: > I have tried putting > the everyone group on the Local Security policies for "Create a token > object", "Logon as service", and "Replace a process level token". The > problem still happens. URGH! Don't do this. Remove the Everyone group from these rights again. 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> > By the way, I see reference to a cron README file that should have been in > the install. I cannot find it anywhere yet. Did it get lost in the new > releases or is it hiding somewhere other than /usr/doc? /usr/share/doc/... Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- 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 |