From 2514e3aae7a2da081a362dadaf4cf945460cc920 Mon Sep 17 00:00:00 2001 From: Sebastian Reyes Espinosa Date: Fri, 9 Oct 2015 10:55:17 -0500 Subject: [PATCH] Closing external acces to DB With those lines you were able to access the database engine externally, something you want not in a production environment. --- odoo_install.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/odoo_install.sh b/odoo_install.sh index 289df78..504366d 100644 --- a/odoo_install.sh +++ b/odoo_install.sh @@ -51,9 +51,6 @@ sudo apt-get upgrade -y #-------------------------------------------------- echo -e "\n---- Install PostgreSQL Server ----" sudo apt-get install postgresql -y - -echo -e "\n---- PostgreSQL $PG_VERSION Settings ----" -sudo sed -i s/"#listen_addresses = 'localhost'"/"listen_addresses = '*'"/g /etc/postgresql/9.3/main/postgresql.conf echo -e "\n---- Creating the ODOO PostgreSQL User ----" sudo su - postgres -c "createuser -s $OE_USER" 2> /dev/null || true