[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/13: gnu: postgres service: More secure default permissions.
From: |
guix-commits |
Subject: |
03/13: gnu: postgres service: More secure default permissions. |
Date: |
Tue, 2 Jul 2019 12:34:03 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 334a2f4def1d4f9dc37718d847923cd941849607
Author: Robert Vollmert <address@hidden>
Date: Thu Jun 13 15:50:37 2019 +0200
gnu: postgres service: More secure default permissions.
This changes to 'peer' authentication for local socket connections,
and password-based authentication for local network connections.
* gnu/services/databases.scm (%default-postgres-hba): Change
authentication method.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/services/databases.scm | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/gnu/services/databases.scm b/gnu/services/databases.scm
index 7113f1f..ec31489 100644
--- a/gnu/services/databases.scm
+++ b/gnu/services/databases.scm
@@ -5,6 +5,7 @@
;;; Copyright © 2017 Christopher Baines <address@hidden>
;;; Copyright © 2018 Clément Lassieur <address@hidden>
;;; Copyright © 2018 Julien Lepiller <address@hidden>
+;;; Copyright © 2019 Robert Vollmert <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -91,9 +92,9 @@
(define %default-postgres-hba
(plain-file "pg_hba.conf"
"
-local all all trust
-host all all 127.0.0.1/32 trust
-host all all ::1/128 trust"))
+local all all peer
+host all all 127.0.0.1/32 md5
+host all all ::1/128 md5"))
(define %default-postgres-ident
(plain-file "pg_ident.conf"
- branch master updated (8b5df10 -> 2e03bbe), guix-commits, 2019/07/02
- 03/13: gnu: postgres service: More secure default permissions.,
guix-commits <=
- 04/13: gnu: Add chafa., guix-commits, 2019/07/02
- 06/13: gnu: Add ghc-ansi-terminal-0.8., guix-commits, 2019/07/02
- 08/13: gnu: ghc-ansi-terminal: Update to 0.9.1., guix-commits, 2019/07/02
- 07/13: gnu: ghc-ansi-wl-pprint: Use ghc-ansi-terminal-0.8., guix-commits, 2019/07/02
- 05/13: gnu: Add ghc-wl-pprint-annotated., guix-commits, 2019/07/02
- 11/13: gnu: Add ghc-validation., guix-commits, 2019/07/02
- 01/13: derivations: Update 'build-derivations' docstring., guix-commits, 2019/07/02
- 02/13: grafts: 'references-oracle' now takes a derivation input., guix-commits, 2019/07/02
- 09/13: gnu: Add ghc-concurrent-output., guix-commits, 2019/07/02
- 10/13: gnu: Add ghc-hedgehog., guix-commits, 2019/07/02