Re: starting with linux as another user...

Поиск
Список
Период
Сортировка
От Oliver Elphick
Тема Re: starting with linux as another user...
Дата
Msg-id 1031582320.24419.224.camel@linda
обсуждение исходный текст
Ответ на starting with linux as another user...  (Jeff Bluemel <jeff@domintcom.com>)
Список pgsql-general
On Fri, 2002-09-06 at 20:05, Jeff Bluemel wrote:
> I know how to make programs start up with the system, but how do I make
> postgres start up as another username then root?
>

In your init script:

su - postgres -c "pg_ctl start"

--
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight, UK
http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "Submit yourselves therefore to God. Resist the devil,
      and he will flee from you."        James 4:7


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

Предыдущее
От: Thomas O'Dowd
Дата:
Сообщение: Re: Literal dash in regular expression brackets
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: Literal dash in regular expression brackets