delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/12/20/16:03:13

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
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Thu, 20 Dec 2001 22:01:12 +0100
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin <cygwin AT cygwin DOT com>
Subject: Re: Cron problem
Message-ID: <20011220220112.Y21898@cygbert.vinschen.de>
Mail-Followup-To: cygwin <cygwin AT cygwin DOT com>
References: <9791A828507D5A418741095C3FD0DDE31323D5 AT INDUS DOT paramanet DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <9791A828507D5A418741095C3FD0DDE31323D5@INDUS.paramanet.com>; from satya@paramanet.com on Thu, Dec 20, 2001 at 02:28:02PM -0500

On Thu, Dec 20, 2001 at 02:28:02PM -0500, Satya Nemana wrote:
> Any info on how to make this cron work, will be of great help to us all.

Just to be sure, I'm telling my setup.

- cron installed with

  cygrunsrv -I cron -p /usr/sbin/cron -a -D -e "CYGWIN=binmode tty ntsec"

- My /etc/passwd (partly):

  root:*:0:0:,S-1-5-32-544::
  Everyone:*:1:1:,S-1-1-0::
  SYSTEM:*:18:18:,S-1-5-18:/home/system:/bin/bash
  corinna::100:0:,S-1-5-21-XXX-YYY-ZZZ-1003:/home/corinna:/bin/tcsh
  dummy::101:545:,S-1-5-21-XXX-YYY-ZZZ-1004:/home/dummy:/bin/bash

- My /etc/group (partly):

  root:S-1-5-32-544:0:
  everyone:S-1-1-0:1:
  SYSTEM:S-1-5-18:18:
  none:S-1-5-21-XXX-YYY-ZZZ-513:513:
  users:S-1-5-32-545:545:

- /etc, /etc/passwd and /etc/group world readable.

- ls -laR /var/cron

  /var/cron:
  total 0
  drwxrwxrwt    3 corinna  root            0 Jul 10 11:51 .
  drwxr-xr-x    6 dummy    users           0 Mar  8  2001 ..
  drwxrwxrwt    2 corinna  root            0 Sep 19 19:00 tabs

  /var/cron/tabs:
  total 2
  drwxrwxrwt    2 corinna  root            0 Sep 19 19:00 .
  drwxrwxrwt    3 corinna  root            0 Jul 10 11:51 ..
  -rw-r-----    1 dummy    SYSTEM        225 Sep 19 19:00 dummy
  -rw-r-----    1 corinna  SYSTEM        230 Sep 19 18:58 corinna

  `corinna' is an admin account, `dummy' is a standard user.

Cron works fine for both accounts, corinna as well as dummy.

I don't know what's your problem is.  I can just suggest to debug
your installation.

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