delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/16/12:36:53

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3BF54DEB.682F3479@sbc.com>
Date: Fri, 16 Nov 2001 11:33:31 -0600
From: "James L. Ash" <james DOT ash AT sbc DOT com>
X-Mailer: Mozilla 4.72 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: more cron issues

Hi.
I love Cygwin. If I can't get cron to work, I'll have to abandon it.

I know everyone is tired of hearing about cron problems, but I've tried
everything. I've read all the mail lists, but I can't get this to work
to save my life.

I have this problem on NT 4.0 and on W2K. The problem is identical.

These snippets are from my NT4.0 box.

The description for Event ID ( 0 ) in Source ( /USR/SBIN/CRON ) could
not be found. It contains the following insertion string(s):
/USR/SBIN/CRON : Win32 Process Id = 0x1AF : Cygwin Process Id = 0x1AF :
(CRON) error (can't switch user context).

and...

The description for Event ID ( 0 ) in Source ( /USR/SBIN/CRON ) could
not be found. It contains the following insertion string(s):
/USR/SBIN/CRON : Win32 Process Id = 0x1AF : Cygwin Process Id = 0x1AF :
(Administrator) CMD (/usr/bin/date > /home/Administrator/CRONDATE).


I have done the following:
cygrunsrv -I cron -p /usr/sbin/cron -a -D -e "CYGWIN=ntsec tty"
    no go...
cygrunsrv -I cron -p /usr/sbin/cron -a'-D' -e "CYGWIN=ntsec tty"
    (saw that one in a mail message, no go)

Then I start it, of course:
cygrunsrv -S cron

I am running as "administrator"

My /etc/group looks like this:
Everyone:S-1-1-0:0:
SYSTEM:S-1-5-18:18:
None:S-1-5-21-361630140-1355681568-311576647-513:513:
Administrators:S-1-5-32-544:544:
Backup Operators:S-1-5-32-551:551:
Guests:S-1-5-32-546:546:
Power Users:S-1-5-32-547:547:
Replicator:S-1-5-32-552:552:
Users:S-1-5-32-545:545:
cvs:S-1-5-21-361630140-1355681568-311576647-1007:1007:
mailmen:S-1-5-21-361630140-1355681568-311576647-1012:1012:
mqm:S-1-5-21-361630140-1355681568-311576647-1001:1001:

My /etc/passwd looks like this:
Everyone:*:0:0:,S-1-1-0::
SYSTEM:*:18:18:,S-1-5-18::
Administrators:*:544:544:,S-1-5-32-544::
Administrator::500:513:,S-1-5-21-361630140-1355681568-311576647-500:/home/Administrator:/bin/bash

cbadmin::1000:513:cbadmin,S-1-5-21-361630140-1355681568-311576647-1000:/home/cbadmin:/bin/bash

db2admin::1005:513:db2admin,S-1-5-21-361630140-1355681568-311576647-1005:/home/db2admin:/bin/bash

Guest::501:513:,S-1-5-21-361630140-1355681568-311576647-501:/home/Guest:/bin/bash

ja7295cvs::1010:513:James
Ash,S-1-5-21-361630140-1355681568-311576647-1010:/home/ja7295cvs:/bin/bash

mailman::1013:513:James
Ash,S-1-5-21-361630140-1355681568-311576647-1013:/home/mailman:/bin/bash

rg3454::1008:513:Rob
Gimenez,S-1-5-21-361630140-1355681568-311576647-1008:/home/rg3454:/bin/bash

SMSCliSvcAcct&::1006:513:SMSCliSvcAcct&,S-1-5-21-361630140-1355681568-311576647-1006:/home/SMSCliSvcAcct&:/bin/bash

webmaster::1014:513:Web
Master,S-1-5-21-361630140-1355681568-311576647-1014:/home/webmaster:/bin/bash

I have rebuilt both several times because I've seen that suggesting in
the mail threads, with
mkpasswd -l >/etc/passwd
mkgroup -l >/etc/group

I am running CYGWIN with ntsec.

The funny thing is, cron has this problem on my laptop when hooked up to
the network. It DOES NOT have the problem undocked.

I've look at permissions on the crontabs. Seems fine. I'm using the
latest cron 3.0.1-5.

Thanks for anything you can suggest!
Jim


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