Skip to content

Commit 7240f03

Browse files
author
Temur Vibliani
committed
[FIX] !add odoo user to sudoers and !/bin/bash
- Do NOT grant administrative access to the odoo system user - Restrict odoo system user to /bin/false shell. fixes Yenthe666#2
1 parent d592e03 commit 7240f03

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

V9/odoo_install.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,7 @@ else
107107
fi
108108

109109
echo -e "\n---- Create ODOO system user ----"
110-
adduser --system --quiet --shell=/bin/bash --home=$OE_HOME --gecos 'ODOO' --group $OE_USER
111-
#The user should also be added to the sudo'ers group.
112-
adduser $OE_USER sudo
110+
adduser --system --quiet --shell=/bin/false --home=$OE_HOME --gecos 'ODOO' --group $OE_USER
113111

114112
echo -e "\n---- Create Log directory ----"
115113
mkdir /var/log/$OE_USER

0 commit comments

Comments
 (0)