user authentication question - Mailing list pgsql-general

From jeff seaman
Subject user authentication question
Date
Msg-id NEBBLCGDKLOHFBHHGAAKKEAHCAAA.jseaman@pharsalia.com
Whole thread Raw
List pgsql-general
I am having trouble understanding the relationship between passwords in the
"passwd" flat file and the system table pg_user.  It seems that if I don't
perform a sql "create user" with the "with password" option I can't connect
to the database when I use password authentication even though I used the
pg_passwd command to enter the user.  Also pardon my ignorance but is there
a secure way to enter the password using the "create user" command without
exposing the password?  I hate to expose a set of "canned" passwords that I
wanted to enter using a script when installing the database.


Thanks in advance.

Jeff


pgsql-general by date:

Previous
From: "Poul L. Christiansen"
Date:
Subject: disable multiple queries
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] random() function produces wrong range