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

From: Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>
To: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, 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-13 21:46:12
Message-ID: 3804FDA4.17B0C110@wgcr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

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.

If this is about the OS userame 'postgres', ignore that. The RPM
installation already creates him, and makes it impossible to directly
log in as 'postgres' -- until root changes his password.

IMHO, of course.

--
Lamar Owen
WGCR Internet Radio
Pisgah Forest, North Carolina
1 Peter 4:11

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 1999-10-13 22:09:16 Re: [HACKERS] Re: [GENERAL] How do I activate and change the postgresuser's password?
Previous Message Jim Cromie 1999-10-13 21:20:26 Re: [GENERAL] stored procedure revisited

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-10-13 22:09:16 Re: [HACKERS] Re: [GENERAL] How do I activate and change the postgresuser's password?
Previous Message Bruce Momjian 1999-10-13 21:38:50 Re: [HACKERS] The new globe