xxxxxxxxxx
sudo -u postgres psql postgres
xxxxxxxxxx
# "-W" will prompt for the password
psql -h <host-ip> -d <database-name> -U <username> -W
interactive with password promp and db
xxxxxxxxxx
sudo -u postgres createuser --interactive --pwprompt --createdb