Questions on PostGreSQL Authentication mechanism...

Поиск
Список
Период
Сортировка
От dipti shah
Тема Questions on PostGreSQL Authentication mechanism...
Дата
Msg-id d5b05a951001312335p16192f28s1881406dedb5ba79@mail.gmail.com
обсуждение исходный текст
Ответы Re: Questions on PostGreSQL Authentication mechanism...  (Richard Huxton <dev@archonet.com>)
Список pgsql-general
Hi, we have latest PostGreSQL setup and it allows everyone to connect. When I do \du, it gives following output and it is same for all users.
 
TechDB=# \du
                                  List of roles
   Role name   | Superuser | Create role | Create DB | Connections |  Member of
---------------+-----------+-------------+-----------+-------------+-------------
 sonal          | no        | no          | no        | no limit    | {from_ldap}
 sundar         | no        | no          | no        | no limit    | {from_ldap}
...
..
 
Moreover, anyone can connect to databases as postgres user without giving password.
 
I am not aware how above setup has been made but I want to get rid of them. Could anyone please help me in below questions?
 
  1. When user connects to TechDB database(or any other) as a "postgres" user, it should ask for password.
  2. Remove all above users(listed with \du) and create someof users and they will have only table creating privileges.
 
Thanks.
 

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

Предыдущее
От: Mads Lie Jensen
Дата:
Сообщение: Re: Which version will this run on?
Следующее
От: Neil Stlyz
Дата:
Сообщение: combine SQL SELECT statements into one