Thread

  1. sudoers file??

    Vivek <vivek@fideltech.com> — 2003-05-28T07:55:50Z

    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
    
    
  2. Re: sudoers file??

    Stephan Szabo <sszabo@megazone23.bigpanda.com> — 2003-06-01T15:06:52Z

    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?