delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/02/18:34:20

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: Problem with installing crontab on Cygwin(1.5.11/1005.11.0.0)/WinXP SP2
Date: Tue, 2 Nov 2004 18:33:57 -0500
Message-ID: <BADF3C947A1BD54FBA75C70C241B0B9E90BD1E@ex02.svr.idirect.net>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Harig, Mark" <maharig AT idirect DOT net>
To: "Barry Kelly" <barry DOT j DOT kelly AT gmail DOT com>, <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id iA2NYGOF021097

> 
> I'm getting the following error when trying to install a 
> crontab on my account:
> 
> $ crontab -e
> # editing my crontab here...
> chown: Invalid argument
> 

Please run this diagnostic script.  It will attempt to locate
many types of common problems with cron on cygwin.

http://sources.redhat.com/ml/cygwin/2004-07/msg00207.html

Please read the output of the script carefully.  If it finds
problems, it suggests possible fixes, and it will also recommend
steps to take if it is unable to detect any problems

For what it is worth, crond is working on both Win2K and WinXP for me.

> I've tried updating my passwd (I live on a Win2K server domain) file
> in case it was out of date or missing local users (vs domain users),
> using
> 
> $ mkpasswd -d -l -g > /etc/passwd
> 

The following commands should give you a simple, and possibly valid,
password file:

  $ mv /etc/passwd /etc/passwd.save
  $ mkpasswd -l > /etc/passwd
  $ mkpasswd -d -u [your Windows user ID] >> /etc/passwd

You would edit your entry then if you wanted to change your login
shell, home directory, group, etc.

---

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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