This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [ cron/crontab ] someone using cron on cygwin?


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@LORELEY ~
$ crontab
crontab: can't obtain passwd entry.

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

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]