public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <cygwin@cygwin.com>
To: Corinna Vinschen <cygwin@cygwin.com>
Subject: Re: [ cron/crontab ] someone using cron on cygwin?
Date: Fri, 04 May 2001 11:29:00 -0000	[thread overview]
Message-ID: <20010504202948.H24200@cygbert.vinschen.de> (raw)
In-Reply-To: <kvu231ywn7.fsf@vzell.de.oracle.com>

On Fri, May 04, 2001 at 05:14:04PM +0200, Dr. Volker Zell wrote:
> >>>>> "Corinna" == Corinna Vinschen <cygwin@cygwin.com> writes:
> 
>     Corinna> On Fri, May 04, 2001 at 02:38:47AM +0200, Gerrit P. Haase wrote:
>     >> Dear Corinna,
>     >> 
>     >> $ crontab
>     >> crontab: can't obtain passwd entry.
> 
>     Corinna> You don't have a /etc/passwd entry for your user account.
>     Corinna> crontab tries to get your passwd entry by calling
> 
>     Corinna> 	struct passwd *pw = getpwuid (geteuid ());
> 
>     Corinna> So check your user id (/bin/id) and add an entry for your
>     Corinna> user id to /etc/passwd. Or, even better, call mkpasswd to
>     Corinna> recreate /etc/passwd.
> 
> Corinna I get the following error when using your crontab:
> 
> vzell@VZELL /tmp
> [502]> crontab
> You must enter your Windows password.
> Otherwise, your crontab entries can't be executed.
> Password:
> crontab: Unrecoverable error 2245.

That's funny. Did you check error 2245?

"The password does not meet the password policy requirements. Check the
 minimum password length, password complexity andpassword history
 requirements."

The problem is that crontab validates the password you've entered by
calling `NetUserChangePassword'. It tries to change your password
from the password you've entered to the same password. For some
reason your password doesn't actually meet some policy which is
valid on your system. If you don't want that check you'll have to
rebuild crontab.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

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

  reply	other threads:[~2001-05-04 11:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-03 17:38 Gerrit P. Haase
2001-05-04  1:19 ` Corinna Vinschen
2001-05-04  8:13   ` Dr. Volker Zell
2001-05-04 11:29     ` Corinna Vinschen [this message]
2001-05-04 14:47   ` Gerrit P. Haase
2001-05-06 11:07     ` Corinna Vinschen
2001-05-06 23:34       ` Gerrit P. Haase
2001-05-07  1:07         ` Corinna Vinschen
2001-05-04 22:46 ` Adrian Phillips
2001-05-07  7:06 David Larsson (ERA)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010504202948.H24200@cygbert.vinschen.de \
    --to=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).