Re: Suggestion : support for environment variable in initdb to set the superuser password - Mailing list pgsql-hackers

From Reda Agaoua
Subject Re: Suggestion : support for environment variable in initdb to set the superuser password
Date
Msg-id CAN+XrdVrdpJOLFHupu6tO-j0RgBg5rLA5nV7ra+NBv2H0huZZA@mail.gmail.com
Whole thread Raw
In response to Re: Suggestion : support for environment variable in initdb to set the superuser password  (Peter Eisentraut <peter@eisentraut.org>)
List pgsql-hackers

Le mer. 28 mai 2025, 13:26, Peter Eisentraut <peter@eisentraut.org> a écrit :
On 27.05.25 11:43, Reda Agaoua wrote:
"Insecure, but it's ok because it's not
used very often"

This isn't what I meant, but I guess it's the same so maybe I didn't think this through as much as I thought I had !

Still, is the concern relevant for single-user systems ? Like containers for instance ? Plus, should we really discourage the use of environment variables altogether just because *some* systems allow unprivileged users to access others processes environment variables ? I'm really curious about this.

Thanks for your consideration anyway !
Reda Agaoua

(Sorry for responding twice, forgot the hit "reply all")

pgsql-hackers by date:

Previous
From: Noboru Saito
Date:
Subject: Re: [PATCH] Proposal: Improvements to PDF stylesheet and table column widths
Next
From: Rahila Syed
Date:
Subject: Re: Persist injection points across server restarts