On Fri, 19 Jul 2013 16:49:51 -0600
Charles Curley <[email protected]> wrote:

> postgres@yendi:~$ psql --username=gisuser --dbname=gis --command="\d"
> psql: FATAL:  Peer authentication failed for user "gisuser"
> postgres@yendi:~$ 
> 
> I then changed it to:
> 
> local   all             all                                     trust
> 
> and that also failed.

It helps if you edit the correct file. In spite of the instructions on
the postgres web site, the file is /etc/postgresql/9.1/main/pg_hba.conf

However, even that doesn't work.

-- 

The right of the people to be secure in their persons, houses, papers,
and effects, against unreasonable searches and seizures, shall not be
violated, and no Warrants shall issue, but upon probable cause,
supported by Oath or affirmation, and particularly describing the
place to be searched, and the persons or things to be seized.
-- U.S. Const. Amendment IV

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to