Hmm looking at the code of create_user, it seems that it should send
the password.
So, on the server, I ran:
sudo su - postgres -c 'createuser -P -D -A -E postgres'
And answered all the questions.
It then fails with message:
createuser: creation of new role failed: ERROR: role "postgres"
already exists
Could it be the problem? Should the script test if the user postgres
already exist? I didn't create the "postgres" user, but obviously some
script must have.
Cheers
Cyrille