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

标签 apache security authentication centos phppgadmin

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

当我尝试以 my_server_ip/phpPgAdmin 访问 phppgadmin 时

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

出于安全原因不允许登录

我什至将 extra_login_security 更改为 false 并使用以下命令重新启动

/etc/init.d/httpd restart

service postgresql-9.2 restart

谁能帮帮我。

最佳答案

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

2).将 $conf['extra_login_security'] = true; 更改为 $conf['extra_login_security'] = false;

// If extra login security is true, then logins via phpPgAdmin with no // password or certain usernames (pgsql, postgres, root, administrator) // will be denied. Only set this false once you have read the FAQ and // understand how to change PostgreSQL's pg_hba.conf to enable // passworded local connections.

关于apache - 出于安全原因不允许登录postgresql centos服务器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19204816/

相关文章:

apache - Apache Zookeeper概念

apache - 是否可以在每个 API Respurce 级别上在 Apache Web 2.4 中启用相互 SSL?

未强制执行 php7 超时

php - Laravel 身份验证在 Laravel 5.3 中无法正常工作

php - 密码重置后删除该用户的所有 session cookie

java - 如何在 Apache 反向代理后面的子目录上设置 Play?

facebook - 社交 SSO 在微服务架构中是什么样子的?

javascript - JSON 劫持在现代浏览器中仍然是一个问题吗?

java - 忽略 spring mvc 中的安全注释

php - 刷新 JWT 应该由 API 还是客户端负责?