Re: Restart postgres in php as nobody

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Restart postgres in php as nobody
Дата
Msg-id 20020108093226.A15631@svana.org
обсуждение исходный текст
Ответ на Restart postgres in php as nobody  (Linh Luong <linh.luong@computalog.com>)
Список pgsql-general
On Mon, Jan 07, 2002 at 11:04:11AM -0700, Linh Luong wrote:
> 2.  I have tried using setuid on the file restart_psql.sh but unfortunately
> it doesn't seem to be forcing the execution as root it still show the user as
> nobody when I include whoami in the sh file.

General note: The setuid bit does *not* work on shell scripts, only on
actual programs.

Other people have provided good answers to your question.
--
Martijn van Oosterhout <kleptog@svana.org>
http://svana.org/kleptog/
> Terrorists can only take my life. Only my government can take my freedom.

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

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: Question regarding strings . . .
Следующее
От: Dave Trombley
Дата:
Сообщение: JDO implementation?