On Oct 17, lec mentioned:

> When I use psql with -u option, psql prompts for the user and password
> but any password lets me through although psql checks for the user.
> 
> What am I missing here?

Passwords only make sense if you actually use password authentication (see
pg_hba.conf(5)), otherwise the system will let you with any password.

In that regard the -u switch is kind of flawed, because prompting for
username and password are really two different things. But that will be
fixed in the next version.

        -Peter

-- 
Peter Eisentraut                  Sernanders vaeg 10:115
[EMAIL PROTECTED]                   75262 Uppsala
http://yi.org/peter-e/            Sweden


************

Reply via email to