The default superuser for PostgreSQL is called postgres. You may need to login as this user first.
Than use this commond in terminal
openerp@ubuntu:/$ sudo su postgres
password: XXXXXXXXXX
Now create PostgreSQL user openerp using the following command:
postgres@ubuntu:/home/openerp$ createuser openerp
Shall the new role be a superuser? (y/n) y
0 Comment(s)