aboutsummaryrefslogtreecommitdiff
path: root/tools/etc/icpc/updatedbpass.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/etc/icpc/updatedbpass.sh')
-rwxr-xr-xtools/etc/icpc/updatedbpass.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/etc/icpc/updatedbpass.sh b/tools/etc/icpc/updatedbpass.sh
index b100af5..a33be16 100755
--- a/tools/etc/icpc/updatedbpass.sh
+++ b/tools/etc/icpc/updatedbpass.sh
@@ -75,6 +75,7 @@ if [ $? == 0 -a "$BOCASERVER" == "localhost" ]; then
su - $postgresuser -c "echo drop user bocauser | psql -d template1 >/dev/null 2>/dev/null"
su - $postgresuser -c "echo create user bocauser createdb password \'$PASS\' | psql -d template1 2>/dev/null"
su - $postgresuser -c "echo alter user bocauser createdb password \'$PASS\' | psql -d template1"
+ su - $postgresuser -c "echo alter user postgres password \'$PASS\' | psql -d template1"
rm -f /tmp/.boca.tmp
fi