Re: A user atribute question

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: A user atribute question
Дата
Msg-id 19972.1566057164@sss.pgh.pa.us
обсуждение исходный текст
Ответ на A user atribute question  (stan <stanb@panix.com>)
Список pgsql-general
stan <stanb@panix.com> writes:
> Just starting to expore setting up roles & useres. I ran this statement:
> GRANT CONNECT ON DATABASE stan TO employee;

> But yet \du still reports:
>  employee        | Cannot login 
>  What am I doing wrong?

That's not a permissions issue, it's a role-property issue; the
role is marked as not being allowed to be used as a login role.
Probably because you said CREATE ROLE not CREATE USER.

You can fix it with ALTER ROLE ... LOGIN or something along
that line, check the ALTER ROLE page.

            regards, tom lane



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

Предыдущее
От: Rob Sargent
Дата:
Сообщение: Re: A user atribute question
Следующее
От: Luca Ferrari
Дата:
Сообщение: Re: Question on pgwatch