Re: CREATE DATABASE WITH OWNER '??'; - Mailing list pgsql-hackers

From Tom Lane
Subject Re: CREATE DATABASE WITH OWNER '??';
Date
Msg-id 19748.957737172@sss.pgh.pa.us
Whole thread Raw
In response to Re: CREATE DATABASE WITH OWNER '??';  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: CREATE DATABASE WITH OWNER '??';
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> You need to make a separate password file for each database and then write
> `passwd my_pw_file' in pg_hba.conf. Should be documented somewhere
> there. Hmm, then you can't change your password with ALTER USER any
> more. Bummer.

Hmm, I had forgotten we had that feature.  Doesn't play too well with
ALTER USER, does it?  Cleaning this up probably ought to be on the TODO
list.

Rather than the separate pw files, maybe pg_shadow needs some kind of
provision for database-specific passwords ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: You're on SecurityFocus.com for the cleartext passwords.
Next
From: Vince Vielhaber
Date:
Subject: Re: So we're in agreement....