public inbox for [email protected]
help / color / mirror / Atom feedFrom: Bruce Momjian <[email protected]>
To: [email protected]
Cc: Dominique Devienne <[email protected]>
Cc: [email protected]
Subject: Re: What are best practices wrt passwords?
Date: Wed, 16 Oct 2024 12:33:01 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
<CAFCRh-8dM4bLGTKcv1v5wC9guhY_b5G=6w-ivHM4UJGwMUyWaA@mail.gmail.com>
<[email protected]>
On Wed, Oct 16, 2024 at 06:16:57PM +0200, [email protected] wrote:
> On 2024-10-16, at 14:41, Dominique Devienne <[email protected]> wrote:
>
> > On Wed, Oct 16, 2024 at 2:25 PM <[email protected]> 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 <[email protected]> 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?"
view thread (6+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: What are best practices wrt passwords?
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox