delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/04/17:48:07

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
From: "Gerrit P. Haase" <gerrit DOT haase AT t-online DOT de>
Organization: Esse keine toten Tiere
To: Corinna Vinschen <cygwin AT cygwin DOT com>
Date: Fri, 4 May 2001 23:47:39 +0200
MIME-Version: 1.0
Subject: Re: [ cron/crontab ] someone using cron on cygwin?
Reply-to: gerrit DOT haase AT t-online DOT de
Message-ID: <3AF33F9B.24184.178EAE0B@localhost>
In-reply-to: <20010504101950.U24200@cygbert.vinschen.de>
References: <3AF21637 DOT 21160 DOT 1304FF5F AT localhost>; from gerrit DOT haase AT t-online DOT de on Fri, May 04, 2001 at 02:38:47AM +0200
X-mailer: Pegasus Mail for Win32 (v3.12cDE)
X-Hops: 1
X-Sender: 320081107336-0001 AT t-dialin DOT net

Corinna Vinschen schrieb am 2001-05-04, 10:19:

> On Fri, May 04, 2001 at 02:38:47AM +0200, Gerrit P. Haase wrote:
> > Dear Corinna,
> > 
> > $ crontab
> > crontab: can't obtain passwd entry.
> 
> You don't have a /etc/passwd entry for your user account.
> crontab tries to get your passwd entry by calling
> 
> 	struct passwd *pw = getpwuid (geteuid ());
> 
> So check your user id (/bin/id) and add an entry for your
> user id to /etc/passwd. Or, even better, call mkpasswd to
> recreate /etc/passwd.
> 

I recreated it a dozen times:

siebenschlaefer AT LORELEY ~
$ crontab
crontab: can't obtain passwd entry.

siebenschlaefer AT LORELEY ~
$ mkpasswd -l > /etc/passwd

siebenschlaefer AT LORELEY ~
$ crontab
crontab: can't obtain passwd entry.

from passwd:
Siebenschlaefer::500:513:Gerrit Haase,S-1-5-21-2027841136-734554988-996637233-500:/home/siebenschlaefer:/bin/bash

siebenschlaefer AT LORELEY ~
$ id
uid=500(siebenschlaefer) gid=544(Administratoren) groups=544(Administratoren),544(Administratoren)

gph

-- 
=^..^=

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019