Re: Post Install / Secure PostgreSQL - Mailing list pgsql-general

From Tom Lane
Subject Re: Post Install / Secure PostgreSQL
Date
Msg-id 25125.1284133904@sss.pgh.pa.us
Whole thread Raw
In response to Post Install / Secure PostgreSQL  (Carlos Mennens <carlos.mennens@gmail.com>)
List pgsql-general
Carlos Mennens <carlos.mennens@gmail.com> writes:
> I am brand new to PostgreSQL and coming from MySQL. My question is
> does anyone know after I install PostgreSQL on my Linux server, is
> there a script that secures the database like MySQL offers in most
> Linux distributions? I think the script for MySQL is
> "/usr/bin/mysql_secure_installation". I checked and there doesn't
> appear to be on located there specifically for PostgreSQL. This script
> is nice because it lets people who are new to databases set root
> password, disable anonymous accounts, remove anonymous accounts,
> remove test databases, disable remote root logins to databases.

The reason mysql has such a script is that their installations are
insecure by default.  Postgres installations aren't, unless you
tell initdb to use "trust" mode, which isn't usual in prepackaged
distributions.

            regards, tom lane

pgsql-general by date:

Previous
From: Ketema Harris
Date:
Subject: Re: Good candidate query for window syntax?
Next
From: Carlos Mennens
Date:
Subject: Re: Post Install / Secure PostgreSQL