出于安全原因postgresql centos服务器不允许登录

ove*_*low 27 apache security authentication phppgadmin centos

我正在配置我的centos服务器.我安装postgresqlphppgadmin

当我尝试访问phppgadmin时 my_server_ip/phpPgAdmin

它重定向到登录页面,当我尝试登录获取错误时

Login disallowed for security reasons

我甚extra_login_security至改用false并使用以下命令重新启动

/etc/init.d/httpd restart
Run Code Online (Sandbox Code Playgroud)

service postgresql-9.2 restart
Run Code Online (Sandbox Code Playgroud)

谁能帮我.

Emu*_*Emu 70

1).打开 - >/etc/phppgadmin - > config.inc.php

2).改变$conf['extra_login_security'] = true;$conf['extra_login_security'] = false;

//如果额外的登录安全性为真,那么通过phpPgAdmin登录没有//密码或某些用户名(pgsql,postgres,root,administrator)//将被拒绝.只有在阅读了FAQ并且//了解如何更改PostgreSQL的pg_hba.conf以启用//密码本地连接之后,才设置为false.

  • 为什么人们希望在安装后无法立即登录到phppgadmin?似乎反直觉? (5认同)
  • 修复了postgres和phppgadmin与Windows上的wamp. (2认同)