From 746b3c3a717ac03b50cb206dd59acdc6168a1651 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Fri, 25 Mar 2022 23:53:55 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'services/pad.libre?= =?UTF-8?q?-service.eu.md'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/pad.libre-service.eu.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/services/pad.libre-service.eu.md b/services/pad.libre-service.eu.md index 1e36dca..c3c98c2 100644 --- a/services/pad.libre-service.eu.md +++ b/services/pad.libre-service.eu.md @@ -93,13 +93,13 @@ Créer un utilisateur (« role » en langage Pgsql) : ``` su -c "psql -c \"CREATE ROLE etherpad WITH LOGIN PASSWORD 'NJPvjmneADaYgdShrU47bL';\"" - postgres - su -c "psql -c \"\du+;\"" - postgres +su -c "psql -c \"\du+;\"" - postgres ``` Créer une base de données : ``` - su -c "psql -c \"CREATE DATABASE etherpad WITH OWNER etherpad TEMPLATE template0 ENCODING UTF8 LC_COLLATE 'fr_FR.UTF-8' LC_CTYPE 'fr_FR.UTF-8';\"" - postgres - su -c "psql -c \"\l;\"" - postgres +su -c "psql -c \"CREATE DATABASE etherpad WITH OWNER etherpad TEMPLATE template0 ENCODING UTF8 LC_COLLATE 'fr_FR.UTF-8' LC_CTYPE 'fr_FR.UTF-8';\"" - postgres +su -c "psql -c \"\l;\"" - postgres ``` Donner l'accès en éditant le ficher `/etc/postgresql/13/main/pg_hba.conf` :