How do I su
to the odoo
account?
nicholas@mordor:~$
nicholas@mordor:~$ sudo su odoo -
This account is currently not available.
nicholas@mordor:~$
nicholas@mordor:~$ awk -F: '{ print $1 }' /etc/passwd | grep odoo
odoo
nicholas@mordor:~$
nicholas@mordor:~$ ll /etc/odoo/odoo.conf
-rw-r----- 1 odoo odoo 214 Dec 15 01:28 /etc/odoo/odoo.conf
nicholas@mordor:~$
Presumably I should be editing the odoo.conf
file as the odoo
user.
I can switch to root with sudo su root -
of course.
Perhaps the answer is that "you don't" as:
nicholas@mordor:~$
nicholas@mordor:~$ cat /etc/passwd | grep odoo
odoo:x:132:140::/var/lib/odoo:/usr/sbin/nologin
nicholas@mordor:~$
is this just how odoo
is configured?
/usr/sbin/nologin
passwd
file at first. (it's glaringly obvious of course:nologin
couldn't be clearer.)sudo -i
instead ofsudo su
to switch to root,sudo -u user -i
for user I believesudo su - odoo