Re: vacuumdb and pg_dump are not running under cron

Поиск
Список
Период
Сортировка
От Jeff Lu
Тема Re: vacuumdb and pg_dump are not running under cron
Дата
Msg-id 009701c318c6$4598f830$1501a8c0@DemoServer
обсуждение исходный текст
Ответ на Re: vacuumdb and pg_dump are not running under cron  (Jason Tishler <jason@tishler.net>)
Список 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@tishler.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


В списке pgsql-cygwin по дате отправления:

Предыдущее
От: "Jeff Lu"
Дата:
Сообщение: Re: vacuumdb and pg_dump are not running under cron
Следующее
От: Jason Tishler
Дата:
Сообщение: Re: win2k password problems