我在我的 Linux 机器上安装了 postgres-9.2.13 和 pgbouncer。我在“postgres”用户中的数据库管理员。当我尝试分别使用以下命令启动 postgres 或 pgbouncer 时,它会询问 root 密码,并且只有在命令前使用“su root”时我才能运行该命令。
但我不希望它仅与 root 用户一起运行。如何让我的 postgres 用户能够运行 postgres 服务和 pgbouncer 服务?
我在我的 Linux 机器上安装了 postgres-9.2.13 和 pgbouncer。我在“postgres”用户中的数据库管理员。当我尝试分别使用以下命令启动 postgres 或 pgbouncer 时,它会询问 root 密码,并且只有在命令前使用“su root”时我才能运行该命令。
但我不希望它仅与 root 用户一起运行。如何让我的 postgres 用户能够运行 postgres 服务和 pgbouncer 服务?