cheguri swapna wrote:
-bash-2.05b$ psql -d template1 -U openca
psql: FATAL:  IDENT authentication failed for user
"openca"

Go to /etc/postgresql/pg_hba.conf and replace this line:

host all all 127.0.0.1 255.255.255.255 ident sameuser

with this line:

host    all         all         127.0.0.1         255.255.255.255   md5

Then add "-h localhost" to psql and use "localhost" whenever PostgreSQL host is specified.

("ident sameuser" requires than Unix user that connects to pgsql has the same name as the pgsql user.)

Regards,
ogi



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users

Reply via email to