From: Stephan Szabo <sszabo@megazone.bigpanda.com>
To: Dan Bikle <dan.bikle@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: [pgsql-admin] Simple question about security in 8.1.1
Date: Sun, 22 Jan 2006 18:35:06 -0800 (PST)
Message-ID: <20060122183141.G82325@megazone.bigpanda.com> (raw)
In-Reply-To: <74252ed10601221802s6c697348w5c405292f17c86ef@mail.gmail.com>
References: <74252ed10601221802s6c697348w5c405292f17c86ef@mail.gmail.com>
On Sun, 22 Jan 2006, Dan Bikle wrote:
> I'm allowed to connect to the db10 database without authentication!:
>
> bash-2.05b$ psql db10 scott
> Welcome to psql 8.1.1, the PostgreSQL interactive terminal.
>
> Type: ¡Àcopyright for distribution terms
> ¡Àh for help with SQL commands
> ¡À? for help with psql commands
> ¡Àg or terminate with semicolon to execute query
> ¡Àq to quit
>
> db10=> create table dropme (n integer);
> CREATE TABLE
> db10=> drop table dropme;
> DROP TABLE
> db10=>
>
> This seems insecure.
>
> How do I create a postgreSQL user account such that attempts to connect
> to it require authentication?
You probably should look at the following:
http://www.postgresql.org/docs/8.1/interactive/client-authentication.html
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: sszabo@megazone.bigpanda.com, dan.bikle@gmail.com
Subject: Re: [pgsql-admin] Simple question about security in 8.1.1
In-Reply-To: <20060122183141.G82325@megazone.bigpanda.com>
References: <74252ed10601221802s6c697348w5c405292f17c86ef@mail.gmail.com> <20060122183141.G82325@megazone.bigpanda.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