sudoers file??

Started by Vivekalmost 23 years ago2 messagesbugs
Jump to latest
#1Vivek
vivek@fideltech.com

I am trying to connect to postgreSQL through PHP. I am
facing lots of problems. Itried to configure postgreSQL
for the above purpose.I tried the following command to set
PGALLOWTCPIP=yes

sudo vi /etc/postgresql/postmaster.init

It says : postgres is not in sudoers file.
What does it mean?

Can I get some tips on how to use pg_connect in PHP. I
tried every option in this but its not working.

Looking forward for some tips from your side.
Thanking you.

Vivek C. Shidhore
email: vivek@fideltech.com

#2Stephan Szabo
sszabo@megazone23.bigpanda.com
In reply to: Vivek (#1)
Re: sudoers file??

On Wed, 28 May 2003, Vivek wrote:

I am trying to connect to postgreSQL through PHP. I am
facing lots of problems. Itried to configure postgreSQL
for the above purpose.I tried the following command to set
PGALLOWTCPIP=yes

sudo vi /etc/postgresql/postmaster.init

It says : postgres is not in sudoers file.
What does it mean?

Who are you connected as at the shell? Does that user have permissions to
use sudo?