Re: Incorrect password using pg_ctl

Поиск
Список
Период
Сортировка
От Doug McNaught
Тема Re: Incorrect password using pg_ctl
Дата
Msg-id m3ofgipb7m.fsf@varsoon.wireboard.com
обсуждение исходный текст
Ответ на Incorrect password using pg_ctl  (Matthew Stanfield <matthew@propertyknowledge.com>)
Список pgsql-general
Matthew Stanfield <matthew@propertyknowledge.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...

В списке pgsql-general по дате отправления:

Предыдущее
От: Matthew Stanfield
Дата:
Сообщение: Re: Incorrect password using pg_ctl
Следующее
От: Randall Perry
Дата:
Сообщение: Update with data from table creates random input