From: | "Jeff Lu" <jklcom(at)mindspring(dot)com> |
---|---|
To: | "'Jason Tishler'" <jason(at)tishler(dot)net> |
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:37:14 |
Message-ID: | 009701c318c6$4598f830$1501a8c0@DemoServer |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-cygwin |
Sorry Jason,
I don't know. How do I know if cron is switching user correctly? How
can I reconfigure /etc/passwd and /etc/group files so cron will work
correctly? Will mkgroup and mkpass correct this problem?
-----Original Message-----
From: Jason Tishler [mailto:jason(at)tishler(dot)net]
Sent: Monday, May 12, 2003 4:02 PM
To: Jeff Lu
Cc: 'Pgsql-Cygwin'
Subject: Re: vacuumdb and pg_dump are not running under cron
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
From | Date | Subject | |
---|---|---|---|
Next Message | Jason Tishler | 2003-05-13 13:27:35 | Re: vacuumdb and pg_dump are not running under cron |
Previous Message | Jason Tishler | 2003-05-12 20:02:27 | Re: vacuumdb and pg_dump are not running under cron |