"Cadu" <cadup(at)ig(dot)com(dot)br> writes:
> If I try a remote Access using psql or pgadmin and the user is userY it
> Access and do not ask for password.
> If I use other user it ask for password.
Hmm, there's nothing in your pg_hba.conf to explain that. I think maybe
you have a ~/.pgpass file (I forget how it's spelled on Windows) that is
silently supplying userY's password on the client side.
regards, tom lane