Problem with authentication in psql.

Started by Vitalinoover 25 years ago2 messageshackers
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net
In reply to: Vitalino (#2)
Re: Problem with authentication in psql.

Vitalino writes:

I have some problem with the Postgres user authentication. A user
with password was created by me, but when I tried to enter in psql using
that user I received a fail mesage.

$ psql -W template1 pagano
Password:
psql: Peer authentication failed for user 'pagano'

Official PostgreSQL sources don't have peer authentication. You should
contact the provider of your package (Debian?).

--
Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter

#2Vitalino
vitalino@supercable.es

Hi everybody,

I have some problem with the Postgres user authentication. A user
with password was created by me, but when I tried to enter in psql using
that user I received a fail mesage.

$ psql -W template1 pagano
Password:
psql: Peer authentication failed for user 'pagano'

Anybody knows what is happening?

Thanks for all.
Vitalino.