A resposta est� no pr�prio How-to que voc� est� citando...
Here's a quick-and-dirty way to bypass Postgresql password problems : edit your /etc/postgresql/pg_hba.conf and make the following lines look like this :
# All other connections by UNIX sockets
localallall trust
#
# All IPv4 connections from localhost
hostallall127.0.0.1255.255.255.255trust
... then restart Postgres. Be aware that the passwords will now be ignored for ALL users and ALL databases!localallall trust
#
# All IPv4 connections from localhost
hostallall127.0.0.1255.255.255.255trust
Em 23/05/05, Caio Ferreira <
[EMAIL PROTECTED]> escreveu:
All
Estou fazendo essa pergunta pois o meu conhecimento de Postgres � nulo.
Estou instalando o open-exchange[1] em um servidor e fiz o seguinte :
su - postgres
$ createuser --pwprompt
Enter name of user to add: openexchange
Enter password for new user: <SENHA>
Enter it again: <SENHA>
Shall the new user be allowed to create databases? (y/n) y
Shall the new user be allowed to create more new users? (y/n) n
CREATE USER
createdb -O openexchange -E UNICODE openexchange
O problema � que quando eu digito o comando abaixo aparece a seguinte mensagem de erro:
psql -U openexchange openexchange < /usr/local/openxchange/share/init_database.sql
psql: FATAL: autentica��o via IDENT falhou para usu�rio "openexchange"
Ser� que alguem poderia dar uma ajuda !?!!
1-http://gpl.netixia.com/openxchange/openxchange-sarge-howto.html
.''`. Caio Abreu Ferreira
: :' : GNU/Linux Debian
`. `'` Gnupg ID 0x01186BE1
`- Linux Couter 327834
--
Victor Guilherme Hogemann
iPlanRIO - SMS/RJ

