Questions on PostGreSQL Authentication mechanism... - Mailing list pgsql-general

From dipti shah
Subject Questions on PostGreSQL Authentication mechanism...
Date
Msg-id d5b05a951001312335p16192f28s1881406dedb5ba79@mail.gmail.com
Whole thread Raw
Responses Re: Questions on PostGreSQL Authentication mechanism...  (Richard Huxton <dev@archonet.com>)
List 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 by date:

Previous
From: Mads Lie Jensen
Date:
Subject: Re: Which version will this run on?
Next
From: Neil Stlyz
Date:
Subject: combine SQL SELECT statements into one