From: Craig James <craig_james@emolecules.com>
To: pgsql-admin@postgresql.org
Subject: Re: password administration
Date: Thu, 05 Aug 2010 13:20:53 -0700
Message-ID: <4C5B1D25.2060906@emolecules.com> (raw)
In-Reply-To: <20100805200454.17A64632749@mail.postgresql.org>
References: <20100805200454.17A64632749@mail.postgresql.org>
On 8/5/10 12:58 PM, Mark Steben wrote:
> I would like to set up a facility that enforces password changes for roles
> After a predefined period (30 days for instance) when logging into psql
> Or, at the very least, send an email out to notify that your current
> Password period is about to expire. Preferably, I'd like to use
> The 'rolvaliduntil' column in pg_roles.
>
> I'm wondering if there is an app inside or outside of postgres
> that I can use or do I have to design from scratch.
This is an off-topic response, but security experts have said that this is a REALLY bad idea. It forces people to choose a new password, which means they can't remember it. So what do they do? They write it down. Anyone snooping around their office can find it.
Besides, when a password is stolen, it's usually used within minutes. Making everyone change every month does no good at all.
A better solution is to implement a password-strength algorithm and require people to select decent passwords to begin with.
Craig
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: craig_james@emolecules.com
Subject: Re: password administration
In-Reply-To: <4C5B1D25.2060906@emolecules.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