delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/12/18/08:13:48

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
Message-ID: <20011218131031.77748.qmail@web21204.mail.yahoo.com>
Date: Tue, 18 Dec 2001 13:10:31 +0000 (GMT)
From: =?iso-8859-1?q?Tiffany=20Chan?= <ikbea88 AT yahoo DOT co DOT uk>
Subject: Cron problem - tried suggestion in mail list
To: cygwin AT cygwin DOT com
MIME-Version: 1.0

Hi,

Sorry that I have common question on cron. I got cron
error : can't switch user context. I have tried the
following suggestion in mail list:

1. remove cron and install as SYSTEM
   $rm -Rf /var/cron
   $cygrunsrv -E cron
   $cygrunsrv -R cron
   $cygrunsrv -I cron -p /usr/sbin/cron -a -D -e
CYGWIN="tty ntsec"
   $cygrunsrv -S cron

   The process is running by SYSTEM

2. All files directory under /var are mode = 777;
   mode of /usr/sbin/cron = 755 ;
   mode of /etc/group and /etc/passwd = 644

3. $mkgroup -ld > /etc/group
   $mkpasswd -ld > /etc/passwd

   the server installed cygwin is in domain ( but not
domain controller), i must use domain user to login
and run crontab -e . Thus i used "-ld" in making
passwd and group file.

4. I tested that Domain administrator can use cron job
properly.

I used cygwin version 1.3.3 in w2k SP2 Advanced
server. I know that a new cygwin version is released.
However, as my system is in production now, i cannot
upgrade the cygwin to the most update version. Or can
i only upgrade the cron tool ?

Thanks a lot !
ikbea




__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

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