diff --git a/participatorio-utils/scripts/create_pqsl_db.sh b/participatorio-utils/scripts/create_pqsl_db.sh index 7e2f16a7d15b751c660c0269ca6ead9917c01434..6c3c771c94b17febc481ea9f6584e9bd7d0e4b9d 100755 --- a/participatorio-utils/scripts/create_pqsl_db.sh +++ b/participatorio-utils/scripts/create_pqsl_db.sh @@ -12,4 +12,4 @@ fi username=${1} dbname=${2} -createdb -U ${username} -h localhost -E UNICODE ${dbname} +createdb -h localhost -U postgres -O ${username} -E UNICODE ${dbname} diff --git a/participatorio-utils/scripts/create_pqsl_user.sh b/participatorio-utils/scripts/create_pqsl_user.sh index c9c4eebbf338149c842c689d3ffddc6505855c30..4e639f17355cda23e01ac3edffea9a4cf8a5cdaa 100755 --- a/participatorio-utils/scripts/create_pqsl_user.sh +++ b/participatorio-utils/scripts/create_pqsl_user.sh @@ -11,4 +11,4 @@ fi username=${1} -createuser -h localhost -U postgres -d -A -P ${username} +createuser -h localhost -U postgres --no-superuser --pwprompt ${username}