Re: Post Install / Secure PostgreSQL

Поиск
Список
Период
Сортировка
От Sam Mason
Тема Re: Post Install / Secure PostgreSQL
Дата
Msg-id 20100913103355.GA7862@samason.me.uk
обсуждение исходный текст
Ответ на Re: Post Install / Secure PostgreSQL  (björn lundin <b.f.lundin@gmail.com>)
Ответы Re: Post Install / Secure PostgreSQL  (Carlos Mennens <carlos.mennens@gmail.com>)
Список pgsql-general
On Fri, Sep 10, 2010 at 01:23:39PM -0700, bjjjrn lundin wrote:
> I usually do like this on a new box
>
> sudo su -
> su - postgres
> createuser bnl
> exit
> exit

It would be somewhat easier to use sudo's "-u" switch, the following
should do the same as the above:

  sudo -u postgres createuser "$USER"

--
  Sam  http://samason.me.uk/

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

Предыдущее
От: Carlos Henrique Reimer
Дата:
Сообщение: Re: User function canceling VACUUMDB utility
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: How to inherit search_path from template