I created a new user using this command:

sudo adduser -system -home=/opt/odoo -group odoo

But I'm getting this error with comman sudo su - odoo:

This account is currently not available

how can I activate the account I just created?


1 Answer 1


You created a system user. The default Shell in /etc/passwd is /usr/sbin/nologin – no login allowed.


  1. create a regular User
  2. change the Entry in /etc/passwd towards e.g. /bin/sh

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.