Re: vacuumdb and pg_dump are not running under cron

From: Jason Tishler <jason(at)tishler(dot)net>
To: Jeff Lu <jklcom(at)mindspring(dot)com>
Cc: 'Pgsql-Cygwin' <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: vacuumdb and pg_dump are not running under cron
Date: 2003-05-12 20:02:27
Message-ID: 20030512200227.GJ1708@tishler.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

Jeff,

On Mon, May 12, 2003 at 03:55:17PM -0400, Jeff Lu wrote:
> From $ id
> uid=500(Administrator) gid=513(None) groups=544(Administrators),545(Users)
>
> From cron
> uid=500(Administrator) gid=513(None) groups=513(None),545(Users)
>
> The groups are different. Why is that?

Sorry, I don't know. Is your /etc/passwd and /etc/group files set up
correctly? Is cron really switching users correctly?

BTW, I get the following:

$ id
uid=19695(jt) gid=10513(Domain Users) groups=544(Administrators),545(Users),10513(Domain Users)

$ cat /tmp/id.txt
uid=19695(jt) gid=10513(Domain Users) groups=544(Administrators),545(Users),10513(Domain Users)

Sounds like your Cygwin setup is not correct.

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6

In response to

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Jeff Lu 2003-05-12 20:37:14 Re: vacuumdb and pg_dump are not running under cron
Previous Message Jeff Lu 2003-05-12 19:55:17 Re: vacuumdb and pg_dump are not running under cron