md5
#
# All other connections by UNIX sockets
local
all
all
ident sameuser
#
# All IPv4 connections from localhost
#host
all
all
127.0.0.1
255.255.255.255 ident sameuser
host
all
all
127.0.0.1
255.255.255.255 md5
#
# All IPv6 localhost connections
host
all
all
::1
ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
ident sameuser
host
all
all
::ffff:127.0.0.1/128
ident sameuser
#
# reject all other connection attempts
host
all
all
0.0.0.0
0.0.0.0
reject
#
#
#
host newuser newuser
200.13.21.22
255.255.255.255 md5
e o /etc/phppgadmin/config.inc.php desse jeito:
$conf['servers'][0]['desc'] = 'PostgreSQL';
$conf['servers'][0]['host'] = '';
$conf['servers'][0]['port'] = 5432;
$conf['servers'][0]['defaultdb'] = 'template1';
$conf['servers'][0]['pg_dump_path'] = '/usr/bin/pg_dump';
$conf['servers'][0]['pg_dumpall_path'] = '/usr/bin/pg_dumpall';
$conf['default_lang'] = 'english';
$conf['extra_login_security'] = false;
$conf['owned_only'] = true;
$conf['show_comments'] = true;
$conf['show_advanced'] = false;
$conf['show_system'] = false;
$conf['show_reports'] = true;
$conf['owned_reports_only'] = true;
$conf['min_password_length'] = 1;
$conf['left_width'] = 200;
$conf['theme'] = 'default';
$conf['show_oids'] = false;
$conf['max_rows'] = 30;
$conf['max_chars'] = 50;
$conf['use_xhtml'] = false;
$conf['version'] = 13;
tipow... naw tow conseguindo logar com nenhum usuário... serah q tem como alguem me dar uma ajuda? tow precisando mesmo!!!