Re: [HACKERS] Re: [GENERAL] How do I activate and change the postgresuser's password?

From: Peter Eisentraut <e99re41(at)DoCS(dot)UU(dot)SE>
To: Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>
Cc: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>, Lincoln Yeoh <lylyeoh(at)mecomb(dot)com>, pgsql-general(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] Re: [GENERAL] How do I activate and change the postgresuser's password?
Date: 1999-10-14 11:18:29
Message-ID: Pine.GSO.4.02A.9910141311370.29358-100000@Ekorre.DoCS.UU.SE
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Wed, 13 Oct 1999, Lamar Owen wrote:

> Bruce Momjian wrote:
> > > There is a todo item for the postgres user to have a password by default.
> > > I'm not sure though how that would be done. Probably in initdb. (?)
> >
> > We could enabled it as part of initdb. Prompt them for it there, and
> > assign it. Seems like there should be one on that account espeically.
>
> Also, allow a command line option to set the password for those who need
> to automate things (like us RedHat people...). This is, I assume, for
> the postgres user INSIDE the initial database structure, as opposed to
> the postgres user on the OS.
>
> Since, under the RedHat installation, the initdb likely will happen
> during initial system startup, having a prompt for a password at that
> point is IMHO not good. Having a default password (in the initdb'd
> pg_shadow) would be better.

Um, a default pre-packaged password would yield the whole concept next to
useless. I personally think an advice after initdb ("You really ought to
assign a password to the superuser now.") will suffice. If people don't do
what they're told, too bad. On the other hand, I'll check into that \N
default password.

This whole security concept needs overhaul anyway, but I don't see it
happening anytime soon.

-Peter

--
Peter Eisentraut Sernanders vaeg 10:115
peter_e(at)gmx(dot)net 75262 Uppsala
http://yi.org/peter-e/ Sweden

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Brook Milligan 1999-10-14 14:27:32 Re: [GENERAL] Can you write into a view?
Previous Message greg 1999-10-14 09:56:32 Re: [GENERAL] insert explanation

Browse pgsql-hackers by date

  From Date Subject
Next Message The Hermit Hacker 1999-10-14 13:17:53 Re: [HACKERS] Scripts again
Previous Message Peter Eisentraut 1999-10-14 11:10:20 Re: [HACKERS] Scripts again