Re: user privileges

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: user privileges
Дата
Msg-id 3b2aa71592fc0de2bacda3373542976fd5ba61cf.camel@cybertec.at
обсуждение исходный текст
Ответ на user privileges  (Atul Kumar <akumar14871@gmail.com>)
Список pgsql-general
On Mon, 2021-06-21 at 16:10 +0530, Atul Kumar wrote:
> My question can be silly but I need to ask that if a user is created
> without login privilege then what is the use of below command why
> don't postgres prompt error on it
> 
> CREATE ROLE nolog_user WITH PASSWORD 'pass1';
> 
> as the user is created with login privileges then what is the use such user ?

The role can be the owner of objects, or it can have members that
inherit privileges.

But setting a password is pointless on a role that cannot login.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com




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