Re: sudoers file??

Lists: pgsql-bugs
From: "Vivek" <vivek(at)fideltech(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: sudoers file??
Date: 2003-05-28 07:55:50
Message-ID: web-478918@easycgi.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

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(at)fideltech(dot)com


From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: Vivek <vivek(at)fideltech(dot)com>
Cc: <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: sudoers file??
Date: 2003-06-01 15:06:52
Message-ID: 20030601080619.I65420-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs


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?