| delorie.com/archives/browse.cgi | search |
| 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 |
| Date: | Tue, 22 May 2001 16:51:13 +0200 |
| From: | Corinna Vinschen <cygwin AT cygwin DOT com> |
| To: | cygwin <cygwin AT cygwin DOT com> |
| Subject: | Re: crontab: can't obtain passwd entry |
| Message-ID: | <20010522165113.F27460@cygbert.vinschen.de> |
| Mail-Followup-To: | cygwin <cygwin AT cygwin DOT com> |
| References: | <3B090405 DOT B1D2BE14 AT lightbridge DOT com> <20010522095255 DOT B27460 AT cygbert DOT vinschen DOT de> <3B0A5A28 DOT F310222C AT lightbridge DOT com> |
| Mime-Version: | 1.0 |
| User-Agent: | Mutt/1.2.5i |
| In-Reply-To: | <3B0A5A28.F310222C@lightbridge.com>; from lbohm@lightbridge.com on Tue, May 22, 2001 at 08:23:04AM -0400 |
On Tue, May 22, 2001 at 08:23:04AM -0400, Louis Bohm wrote:
> I did do a mkpasswd -l > /etc/passwd and a mkgroup -l > /etc/group. After I
> did that I tried the crontab -e and sill had the problem.
>
> Then I tried to do something smart, or so I though, and run gdb crontab.
> Unfortunately gdb has problems with crontab.
The offending code in crontab is:
struct passwd *pw = getpwuid (geteuid ());
if (! pw)
return eprint ("can't obtain passwd entry.");
so your current uid is not in /etc/passwd.
if you call `id' you should get an output like that:
uid=1003(louis) gid=513(None) ...
if that is not what you get, your passwd is still incorrect.
Are you a perhaps a domain user? In that case `mkpasswd -l'
will not help. Use `mkpasswd -d' to get domain users.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin AT cygwin DOT com
Red Hat, Inc.
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |