Re: Incorrect password using pg_ctl

From: Matthew Stanfield <matthew(at)propertyknowledge(dot)com>
To: Doug McNaught <doug(at)wireboard(dot)com>
Cc: Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>, PostgreSQL General Mailing List <pgsql-general(at)postgresql(dot)org>
Subject: Re: Incorrect password using pg_ctl
Date: 2002-04-17 16:41:24
Message-ID: 3CBDA5B4.E02186E5@propertyknowledge.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Doug McNaught wrote:
>
> Matthew Stanfield <matthew(at)propertyknowledge(dot)com> writes:
>
> > What I really want is to be able to start/stop/status the server from my
> > normal account the way I always used to by using aliases for the long
> > command lines of "su -c 'pg_ctl start/stop...' postgres".
>
> Write a little C program that exec's pg_ctl with the appropriate
> arguments, make it setuid 'postgres'?

Thanks Doug.

I could do this but I am intrigued as to why I can't do things the way I
have described (as above), since that was the setup that worked when I had
the same versions of linux and postgresql installed before I had to do a
clean re-install a few days ago.

Regards,

..matthew

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alexis Maldonado 2002-04-17 16:50:56 SQL question..
Previous Message Stephan Szabo 2002-04-17 16:35:33 Re: Large table update/vacuum PLEASE HELP!