Re: can't "grant all on database..."

Поиск
Список
Период
Сортировка
От Travis Hume
Тема Re: can't "grant all on database..."
Дата
Msg-id 3EF0E120.2020008@tenzing.com
обсуждение исходный текст
Ответ на Re: can't "grant all on database..."  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Ответы Re: can't "grant all on database..."  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Список pgsql-general
So I ended up doing this:

    create user ruser createuser;

and then limiting where he can connect from through pg_hba.conf file.

Thanks for the help

Stephan Szabo wrote:

>On Wed, 18 Jun 2003, Travis Hume wrote:
>
>
>
>>Ok, I give up.
>>
>>I've created a database called "Inflight" using user "fc".  I want to
>>create a second user called "johndoe" and grant him all priviledges on
>>the "Inflight" database and then restrict him access to certain
>>IPAddress using the pg_hba.conf file.
>>
>>Anyone know the magic words?
>>
>>
>
>I think you'll need to grant all privs to each of the schemas, tables, etc
>the user should have access to.  There have been scripts that should do
>the tables at least in the archives (I haven't paid enough attention to
>know if they deal with other objects).
>
>
>
>


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: A creepy story about dates. How to prevent it?
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: can't "grant all on database..."