Re: Incorrect password using pg_ctl

From: Doug McNaught <doug(at)wireboard(dot)com>
To: Matthew Stanfield <matthew(at)propertyknowledge(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 15:59:57
Message-ID: m3ofgipb7m.fsf@varsoon.wireboard.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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'?

-Doug
--
Doug McNaught Wireboard Industries http://www.wireboard.com/

Custom software development, systems and network consulting.
Java PostgreSQL Enhydra Python Zope Perl Apache Linux BSD...

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mark Price 2002-04-17 16:08:31 Re: j2sdk1.4.0 jdbc compile errors
Previous Message Matthew Stanfield 2002-04-17 15:54:23 Re: Incorrect password using pg_ctl