pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedRe: PostgreSQL db password policy
6+ messages / 5 participants
[nested] [flat]
* Re: PostgreSQL db password policy
@ 2018-12-04 11:45 sudesh mohane <smohane@gmail.com>
2018-12-04 14:57 ` Re: PostgreSQL db password policy Anthony Sotolongo <asotolongo@gmail.com>
2018-12-04 19:32 ` Re: PostgreSQL db password policy David Fetter <david@fetter.org>
0 siblings, 2 replies; 6+ messages in thread
From: sudesh mohane @ 2018-12-04 11:45 UTC (permalink / raw)
To: pgsql-bugs@lists.postgresql.org
> Hello Team,
>
> We are using PostgreSQL db for one of our projects. By default DB
> accepts any password. However client need password policy.
>
> We want to implement password policy (e.g. password expiry, password
> length etc) in PostgreSQL.
>
> Can you please advise how to achieve this in PostgreSQL ?
>
> Regards,
> Sudesh Mohane
>
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: PostgreSQL db password policy
2018-12-04 11:45 Re: PostgreSQL db password policy sudesh mohane <smohane@gmail.com>
@ 2018-12-04 14:57 ` Anthony Sotolongo <asotolongo@gmail.com>
2018-12-05 01:08 ` Re: PostgreSQL db password policy Michael Paquier <michael@paquier.xyz>
1 sibling, 1 reply; 6+ messages in thread
From: Anthony Sotolongo @ 2018-12-04 14:57 UTC (permalink / raw)
To: smohane@gmail.com; +Cc: pgsql-bugs@lists.postgresql.org
Hi Sudesh Mohane
that's not an error, then this is not the list
by the way, you can check passwordcheck extension
https://www.postgresql.org/docs/11/passwordcheck.html
or check the extension passwordcheck_extra, by M. Paquier
https://github.com/michaelpq/pg_plugins/tree/master/passwordcheck_extra
password expiry you can use crear user with VALID UNTIL option
Regards
El mar., 4 dic. 2018 a las 10:05, sudesh mohane (<smohane@gmail.com>)
escribió:
>
> Hello Team,
>>
>> We are using PostgreSQL db for one of our projects. By default DB
>> accepts any password. However client need password policy.
>>
>> We want to implement password policy (e.g. password expiry, password
>> length etc) in PostgreSQL.
>>
>> Can you please advise how to achieve this in PostgreSQL ?
>>
>> Regards,
>> Sudesh Mohane
>>
>
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: PostgreSQL db password policy
2018-12-04 11:45 Re: PostgreSQL db password policy sudesh mohane <smohane@gmail.com>
2018-12-04 14:57 ` Re: PostgreSQL db password policy Anthony Sotolongo <asotolongo@gmail.com>
@ 2018-12-05 01:08 ` Michael Paquier <michael@paquier.xyz>
0 siblings, 0 replies; 6+ messages in thread
From: Michael Paquier @ 2018-12-05 01:08 UTC (permalink / raw)
To: Anthony Sotolongo <asotolongo@gmail.com>; +Cc: smohane@gmail.com; pgsql-bugs@lists.postgresql.org
On Tue, Dec 04, 2018 at 11:57:53AM -0300, Anthony Sotolongo wrote:
> or check the extension passwordcheck_extra, by M. Paquier
> https://github.com/michaelpq/pg_plugins/tree/master/passwordcheck_extra
>
> password expiry you can use crear user with VALID UNTIL option
That's one possibility, I have no idea if anybody is packaging it
and I don't have any plans to submit new RPMs, so if this is not
available you will need to compile it yourself. Even with that, I think
that you had better avoid passing a raw password string through the
network.
--
Michael
Attachments:
signature.asc (application/pgp-signature, 832B) download
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: PostgreSQL db password policy
2018-12-04 11:45 Re: PostgreSQL db password policy sudesh mohane <smohane@gmail.com>
@ 2018-12-04 19:32 ` David Fetter <david@fetter.org>
1 sibling, 0 replies; 6+ messages in thread
From: David Fetter @ 2018-12-04 19:32 UTC (permalink / raw)
To: sudesh mohane <smohane@gmail.com>; +Cc: pgsql-bugs@lists.postgresql.org
On Tue, Dec 04, 2018 at 05:15:25PM +0530, sudesh mohane wrote:
> > Hello Team,
> >
> > We are using PostgreSQL db for one of our projects. By default DB
> > accepts any password. However client need password policy.
> >
> > We want to implement password policy (e.g. password expiry, password
> > length etc) in PostgreSQL.
Unless your client has regulatory requirements for password
expiration, you should discourage them in the strongest possible terms
from implementing one.
https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/SoLongAndNoThanks.pdf
Best,
David.
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778
Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate
^ permalink raw reply [nested|flat] 6+ messages in thread
* PostgreSQL db password policy
@ 2018-12-05 06:26 sudesh mohane <smohane@gmail.com>
2018-12-05 09:30 ` Re: PostgreSQL db password policy Thomas Kellerer <spam_eater@gmx.net>
0 siblings, 1 reply; 6+ messages in thread
From: sudesh mohane @ 2018-12-05 06:26 UTC (permalink / raw)
To: asotolongo@gmail.com; +Cc: pgsql-bugs@lists.postgresql.org; michael@paquier.xyz
Hi Anthony,
Can you assist me with configuration for passwordcheck_extra
<https://github.com/michaelpq/pg_plugins/tree/master/passwordcheck_extra;.
In README file it's mentioned that :
1) Copy it as contrib/passwordcheck_extra in PostgreSQL code and use the
following command:
make install
I am using Windows operating system, So I need to copy
passwordcheck_extra.sql
<https://github.com/michaelpq/pg_plugins/blob/master/passwordcheck_extra/sql/passwordcheck_extra.sql;
in C:\Program
Files\PostgreSQL\9.5\share\contrib , correct ?
Then, where to run make install command to make it available?
Reagrds,
Sudesh Mohane
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: PostgreSQL db password policy
2018-12-05 06:26 PostgreSQL db password policy sudesh mohane <smohane@gmail.com>
@ 2018-12-05 09:30 ` Thomas Kellerer <spam_eater@gmx.net>
0 siblings, 0 replies; 6+ messages in thread
From: Thomas Kellerer @ 2018-12-05 09:30 UTC (permalink / raw)
To: sudesh mohane <smohane@gmail.com>; asotolongo@gmail.com; +Cc: pgsql-bugs@lists.postgresql.org
sudesh mohane schrieb am 05.12.2018 um 07:26:
> Can you assist me with configuration for passwordcheck_extra <https://github.com/michaelpq/pg_plugins/tree/master/passwordcheck_extra;.
>
> In README file it's mentioned that :
>
> 1) Copy it as contrib/passwordcheck_extra in PostgreSQL code and use the
> following command:
> make install
>
> I am using Windows operating system, So I need to copy
> passwordcheck_extra.sql
> <https://github.com/michaelpq/pg_plugins/blob/master/passwordcheck_extra/sql/passwordcheck_extra.sql;
> in C:\Program Files\PostgreSQL\9.5\share\contrib , correct ?
>
> Then, where to run make install command to make it available?
Please stop asking questions on the "-bugs" mailing list.
This is only for reporting bugs, not for general support.
Questions like that should be send to the "-general" list.
^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2018-12-05 09:30 UTC | newest]
Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-12-04 11:45 Re: PostgreSQL db password policy sudesh mohane <smohane@gmail.com>
2018-12-04 14:57 ` Anthony Sotolongo <asotolongo@gmail.com>
2018-12-05 01:08 ` Michael Paquier <michael@paquier.xyz>
2018-12-04 19:32 ` David Fetter <david@fetter.org>
2018-12-05 06:26 PostgreSQL db password policy sudesh mohane <smohane@gmail.com>
2018-12-05 09:30 ` Thomas Kellerer <spam_eater@gmx.net>
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