Re: [PATCH] pg_autovacuum commandline password hiding.

Поиск
Список
Период
Сортировка
От Ian FREISLICH
Тема Re: [PATCH] pg_autovacuum commandline password hiding.
Дата
Msg-id E1DaUk4-000HNa-Gu@hetzner.co.za
обсуждение исходный текст
Ответ на Re: [PATCH] pg_autovacuum commandline password hiding.  (Neil Conway <neilc@samurai.com>)
Ответы Re: [PATCH] pg_autovacuum commandline password hiding.
Список pgsql-patches
Neil Conway wrote:
> Ian FREISLICH wrote:
> > I'm not sure if you've done this for a later version of pg_autovacuum.
> > I'm using what came with postgres-7.4.6.  For database security on
> > a shared server (~800 logins) it's best to set the superuser password
> > and not allow passwordless connections.  The only thing is that
> > pg_autovacuum keeps the password supplied on the commandline so
> > anyone that does a 'ps' can get the database superuser password.
>
> Is this portable? Considering the hoops that
> backend/utils/misc/ps_status.c jumps through to do something similar for
> the postmaster, I would guess not.
>
> BTW, I would suggest using ~/.pgpass, as that should be secure on all
> platforms.

I have no idea.  It works on FreeBSD and Linux which are the two
platform I have access to.

Does pg_autovacuum use ~/.pgpass?

Ian

--
Ian Freislich

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

Предыдущее
От: Neil Conway
Дата:
Сообщение: Re: plperl tests for currently untested features
Следующее
От: Neil Conway
Дата:
Сообщение: Re: [PATCH] pg_autovacuum commandline password hiding.