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– Terrance May 01 '21 at 05:06passwdfile at first. (it's glaringly obvious of course:nologincouldn't be clearer.) – Nicholas Saunders May 01 '21 at 05:10sudo -iinstead ofsudo suto switch to root,sudo -u user -ifor user I believe – May 01 '21 at 05:19sudo su - odoo– May 01 '21 at 05:27