Hello,
What I am trying to achieve is to create a user with
I read pw() and adduser() so came to this
But I failed.
The main point is how I can make "Password : <disabled>" by
Any idea, please
What I am trying to achieve is to create a user with
pw
instead of the an interactive methon adduser
.
Code:
Username : odoo
Password : <disabled>
Full Name : Odoo ERP
Uid : 1002
Class :
Groups : odoo
Home : /home/odoo
Home Mode :
Shell : /bin/sh
Locked : no
I read pw() and adduser() so came to this
Code:
pw adduser odoo -d /home/odoo -s /bin/sh -c "Odoo ERP" -w no
The main point is how I can make "Password : <disabled>" by
pw
Any idea, please