Re: [GENERAL] pgpass file type restrictions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [GENERAL] pgpass file type restrictions
Дата
Msg-id 30756.1508422804@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [GENERAL] pgpass file type restrictions  ("Daniel Verite" <daniel@manitou-mail.org>)
Ответы Re: [GENERAL] pgpass file type restrictions
Список pgsql-general
"Daniel Verite" <daniel@manitou-mail.org> writes:
>     Desidero wrote:
>> When attempting to use something like an anonymous pipe for a
>> passfile, psql throws an error stating that it only accepts plain files

> So the script doing that has access to the password(s) in clear text.
> Can't it instead push the password into the PGPASSWORD
> environment variable, avoiding creating .pgpass in any form?

On many platforms, it's possible for other users to see the environment
variables of a process.  So PGPASSWORD is really quite insecure.
        regards, tom lane


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

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

Предыдущее
От: "Daniel Verite"
Дата:
Сообщение: Re: [GENERAL] pgpass file type restrictions
Следующее
От: américo bravo astroña
Дата:
Сообщение: Re: [GENERAL] Problems with the time in data type timestamp withouttime zone