<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.6000.17063" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma" text=#000000 bgColor=#ffffff>
<DIV>Thanks Hilton. </DIV>
<DIV> </DIV>
<DIV>That did the trick to resolve the postgres error. I am only running into problems with "update-java-alternatives -s java-6-openjdk". when I run the command</DIV>
<DIV> </DIV>
<DIV>-------------------------------------------------------------------------</DIV>
<DIV>update-alternatives: error: no alternatives for mozilla-javaplugin.so.<BR>update-java-alternatives: plugin alternative does not exist: /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/IcedTeaPlugin.so</DIV>
<DIV> </DIV>
<DIV>Should I just ignore this?</DIV>
<DIV> </DIV>
<DIV>Regards</DIV>
<DIV>/Bravismore<BR><BR>>>> Hilton Gibson <hilton.gibson@gmail.com> 2010/06/23 09:39 AM >>><BR>Hi Bravismore<BR><BR>Change the ident's to md5's.<BR>I am not sure what ident auth is.<BR><BR>Cheers<BR><BR>hg<BR><BR>On 23/06/2010 08:53, Bravismore Mumanyi wrote: </DIV>
<BLOCKQUOTE cite=mid:4C21CB8D0200004B0007C0C4@ngwway.uwc.ac.za type="cite">
<META content="MSHTML 6.00.6000.17063" name=GENERATOR>
<DIV>Hi Hilton,</DIV>
<DIV> </DIV>
<DIV>I do hope I find you well.</DIV>
<DIV> </DIV>
<DIV>I am having the following error the moment I try to go to the postgres prompt "psql -U postgres". If I change ident to trust method, everything works but am not prompted for a password pausing a security risk.</DIV>
<DIV> </DIV>
<DIV>Do you know of any workaround for this?</DIV>
<DIV> </DIV>
<DIV>psql: FATAL: Ident authentication failed for user "postgres"<BR></DIV>
<DIV> </DIV>
<DIV>------------------------------------------------------------------------</DIV>
<DIV># Database administrative login by UNIX sockets<BR>local all postgres ident</DIV>
<DIV> </DIV>
<DIV># TYPE DATABASE USER CIDR-ADDRESS METHOD</DIV>
<DIV> </DIV>
<DIV># "local" is for Unix domain socket connections only<BR>local all all ident<BR># IPv4 local connections:<BR>host all all 127.0.0.1/32 md5<BR># IPv6 local connections:<BR>host all all ::1/128 md5<BR></DIV><PRE wrap=""><FIELDSET class=mimeAttachmentHeader></FIELDSET>
All Email originating from UWC is covered by disclaimer <A class=moz-txt-link-freetext href="http://www.uwc.ac.za/portal">http://www.uwc.ac.za/portal</A>
</PRE></BLOCKQUOTE><PRE class=moz-signature cols="72"> </PRE></BODY></HTML>