From 630d5f601b7865f6026dc781dc17669695414fe9 Mon Sep 17 00:00:00 2001 From: william-andre Date: Thu, 30 Nov 2023 13:32:48 +0100 Subject: [PATCH] [FIX] install: do not create superuser for postgres The preferred/safe way of running Odoo is with a standard user, with only the right to create a database. See https://github.com/odoo/odoo/commit/b6b73551dbbb3079f043920f21554b945fa4870e X-original-commit: df8114e591f0f0f79c4a7e7a23c1682693c38b0f --- content/administration/install/source.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/administration/install/source.rst b/content/administration/install/source.rst index 03279b973a..114af9b909 100644 --- a/content/administration/install/source.rst +++ b/content/administration/install/source.rst @@ -229,7 +229,7 @@ PostgreSQL user. .. code-block:: console - $ sudo -u postgres createuser -s $USER + $ sudo -u postgres createuser -d -R -S $USER $ createdb $USER .. note:: @@ -254,7 +254,7 @@ PostgreSQL user. .. code-block:: console - $ sudo -u postgres createuser -s $USER + $ sudo -u postgres createuser -d -R -S $USER $ createdb $USER .. note::