Chinaunix

标题: PostGreSQL紧急求救!!!!!!!! [打印本页]

作者: herowc    时间: 2004-08-13 15:43
标题: PostGreSQL紧急求救!!!!!!!!
我安装完了postgresql
也添加了.bashrc中的那些东西
可是当我用postmaster -S启动postgresql的时候出错
提示
   "root" execution of the PostgreSQL server is not permitted.
The server must be started under an unprivileged user ID to prevent
possible system security compromise.  See the documentation for
more information on how to properly start the server.
我估计是root级别抬高,危险,就新建了一个账号,可是
在新建的帐号里面无法使用postmaster -S命令
这是怎么回事?请教请教
作者: wwashington    时间: 2004-08-13 16:20
标题: PostGreSQL紧急求救!!!!!!!!
用 postgres 帐号,给普通权限就可以了.
作者: herowc    时间: 2004-08-13 17:12
标题: PostGreSQL紧急求救!!!!!!!!
能具体写一下怎么实现吗 ?谢谢!
作者: lylzgq    时间: 2004-08-15 17:42
标题: PostGreSQL紧急求救!!!!!!!!
tar vxf post732.tar.gz
make install
groupadd postgres
useradd postgres -d /usr/local/pgsql -g postgres
chown -R postgres.postgres /usr/local/pgsql
chmod -R 777 /usr/local/pgsql
cp lib/* /usr/lib/.
按我说的去做肯定没问题我装了30多台。




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2