This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

CRON startup problems with Win2K


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.

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?

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"

Thanks for your help, and thanks for Cygwin!

-- 
# Scott Cokely                 #  The Internet interprets censorship
# (949)474-9712 x209           #  as damage, and routes AROUND it.
# include "std_disclaimer.pl"; #------------------------------------
#               Quidquid latine dictum sit, altum viditur.

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]