Disallow execution of shell commands from psql

Поиск
Список
Период
Сортировка
От Wiwwo Staff
Тема Disallow execution of shell commands from psql
Дата
Msg-id CAFe70G6=XkdZKwdGOQA-Ccr9QYAS9_G+FULAO08yTy_7Z9=xDA@mail.gmail.com
обсуждение исходный текст
Ответы Re: Disallow execution of shell commands from psql  (hubert depesz lubaczewski <depesz@depesz.com>)
Список pgsql-general
Hi!
Happy new (gregorian calendar) year!

Somehow related to the proposal of having a `psql --idle` option, is there a way to disallow the command `\!` (and anything of the likes in psql?

Sure, I can set the SHELL env var at run-time, but I still want to have postgres user to be a normal user, with its shell etc, which means it can change this SHELL setting somewhere.

Any tip?

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

Предыдущее
От: Ron
Дата:
Сообщение: Re: Use case for enabling log_duration other than benchmarking
Следующее
От: Julien Rouhaud
Дата:
Сообщение: Re: Use case for enabling log_duration other than benchmarking