aboutsummaryrefslogtreecommitdiff
path: root/getmepostgres.sh
diff options
context:
space:
mode:
authorTom Harley2018-02-08 17:07:31 +0000
committerTom Harley2018-02-08 17:07:31 +0000
commit2163349b8e5c5a5eca21c5865563552365e42209 (patch)
tree733b11d8a935c11719629adb320db31135f5f178 /getmepostgres.sh
parentshould be almost functional now (diff)
downloadmedicine-2163349b8e5c5a5eca21c5865563552365e42209.tar.gz
medicine-2163349b8e5c5a5eca21c5865563552365e42209.zip

removed postgres password

Diffstat (limited to 'getmepostgres.sh')
-rwxr-xr-xgetmepostgres.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/getmepostgres.sh b/getmepostgres.sh
index cb0388a..035b300 100755
--- a/getmepostgres.sh
+++ b/getmepostgres.sh
@@ -50,7 +50,7 @@ echo "> Starting the postgres server";
echo "> Create the Database";
"$PGDIR/postgres/bin/createdb" be4;
echo "> Creating Admin user";
-"$PGDIR/postgres/bin/psql" -U ${USER} postgres -c "CREATE USER admin WITH PASSWORD 'eprprJacR0hBpmWvs5IDJZTnjRAY2gM3tSm0b1af';";
+"$PGDIR/postgres/bin/psql" -U ${USER} postgres -c "CREATE USER admin;";
echo "> Granting Admin Permissions";
"$PGDIR/postgres/bin/psql" -U ${USER} postgres -c "ALTER DATABASE be4 OWNER TO admin;";