From: Joel Burton <joel@joelburton.com>
To: shreedhar <shreedhar@lucidindia.net>
To: PostgreSQL <pgsql-admin@postgresql.org>
Subject: Re: Problem in User Securities
Date: Mon, 20 May 2002 09:09:45 -0400
Message-ID: <JGEPJNMCKODMDHGOBKDNKEMLCOAA.joel@joelburton.com> (raw)
In-Reply-To: <004101c1ffe1$454f3d70$1201a8c0@a4005>
The default security setup in PG is to allow all connections from localhost,
w/o password. This should be changed. You'll find this in your $PGDATA
directory, in the file pg_hba.conf.
- J.
Joel BURTON | joel@joelburton.com | joelburton.com | aim: wjoelburton
Knowledge Management & Technology Consultant
> -----Original Message-----
> From: pgsql-admin-owner@postgresql.org
> [mailto:pgsql-admin-owner@postgresql.org]On Behalf Of shreedhar
> Sent: Monday, May 20, 2002 5:33 AM
> To: PostgreSQL
> Subject: [ADMIN] Problem in User Securities
>
>
> Hello All,
>
> I am new to Postgres, While I was checking 'User Securities' in postgres I
> got the following problem.
>
> I created a user using 'createuser' command and gave superuser
> permissions.
>
> but while accessing database, even if we have not given '-W' password
> option it is entering into database. So who knows Unix administrator
> password can enter into any database if they know corresponding login name
> and they work with the same permissions..
>
> And also i observed that even we can enter into template1 with out giving
> any username or password.
>
> I doubt there will be a way to restrict this.
>
> Can any body help me regarding this.
>
> Thanks alot,
>
> With best Regards
> bhaskararaju
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: joel@joelburton.com, shreedhar@lucidindia.net
Subject: Re: Problem in User Securities
In-Reply-To: <JGEPJNMCKODMDHGOBKDNKEMLCOAA.joel@joelburton.com>
References: <004101c1ffe1$454f3d70$1201a8c0@a4005> <JGEPJNMCKODMDHGOBKDNKEMLCOAA.joel@joelburton.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox