delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/12/17:47:52

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: <5.1.0.14.0.20020612173746.04d31dc0@pop.ma.ultranet.com>
X-Sender: lhall AT pop DOT ma DOT ultranet DOT com
Date: Wed, 12 Jun 2002 17:42:46 -0400
To: pianoman AT msoft DOT com (Scott Cokely), cygwin AT cygwin DOT com
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: Re: CRON startup problems with Win2K
In-Reply-To: <3D07666A.AFC2060C@msoft.com>
Mime-Version: 1.0

At 11:19 AM 6/12/2002, Scott Cokely wrote:
>I was looking through the mail archives for help with this, and found
>a post by Jari Aalto describing my problem, but I didn't see the resolution.
>
>The error that I get is:
>
>    cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
>    The service has not been started.


More than likely, this is because a needed service isn't starting before
crond.  Check the email archives for this problem.  You'll find some 
suggestions of services you might want to create dependencies for.


>The error from "cron.exe" when run on the command line is:
>
>    seteuid: Not owner
>
>Corinna Vinschen responded with:
>
>>> Sure. cron needs privileges only given to SYSTEM by default.
>
>So my question is:  What do I do to give cron these privileges?  Starting
>cron as Administrator doesn't do it, and according to the README, cron
>is supposed to run as SYSTEM by default.  What do I need to do to make
>this work for me?


The SYSTEM account has the required privileges.  No other account does by
default.  See inetutils-*.README for the list of privileges required.  Keep
in mind that adding these privileges to another account opens a security 
hole.



>By the way, the command I'm using to create the service is as follows:
>
>    cygrunsrv -I cron -p /usr/sbin/cron -a -D -e "CYGWIN=tty ntsec"


Seems OK.


Larry Hall                              lhall AT rfk DOT com
RFK Partners, Inc.                      http://www.rfk.com
838 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019