Re: What are best practices wrt passwords?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: What are best practices wrt passwords?
Дата
Msg-id Zw_qvUHTC98XcGa6@momjian.us
обсуждение исходный текст
Ответ на Re: What are best practices wrt passwords?  (mbork@mbork.pl)
Ответы Re: What are best practices wrt passwords?
Список pgsql-general
On Wed, Oct 16, 2024 at 06:16:57PM +0200, mbork@mbork.pl wrote:
> On 2024-10-16, at 14:41, Dominique Devienne <ddevienne@gmail.com> wrote:
> 
> > On Wed, Oct 16, 2024 at 2:25 PM <mbork@mbork.pl> wrote:
> >> I'd like to be able to use psql without typing passwords again and
> >> again.  I know about `.pgpass` and PGPASSFILE, but I specifically do not
> >> want to use it - I have the password in the `.env` file, and having it
> >> in _two_ places comes with its own set of problems, like how to make
> >> sure they don't get out of sync.
> >
> > What's wrong with PGPASSWORD?
> > https://www.postgresql.org/docs/current/libpq-envars.html
> 
> `ps auxe` shows all processes with their environments, no?

I think that only shows for super-user.

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  When a patient asks the doctor, "Am I going to die?", he means 
  "Am I going to die soon?"



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