I'm trying to learn Odoo, and as I follow steps from this site, I got stumbled upon command:
$ sudo adduser --system --quiet --shell=/bin/bash --home=odoo --gecos 'ODOO' --group odoo
[sudo] password for martin:
adduser: The home dir must be an absolute path.
Why is this happening? I'm not well versed into Linux so I'm not sure what to do. I'm trying to look up the error message but couldn't find much.
you can replace --home=odoo
with --home=/home/odoo
to clarify according to documentation,
-d, --home HOME_DIR The new user will be created using HOME_DIR as the value for the user's login directory. The default is to append the LOGIN name to BASE_DIR and use that as the login directory name. The directory HOME_DIR does not have to exist but will not be created if it is missing.