diff options
| author | Tom Harley | 2018-02-08 17:07:31 +0000 |
|---|---|---|
| committer | Tom Harley | 2018-02-08 17:07:31 +0000 |
| commit | 2163349b8e5c5a5eca21c5865563552365e42209 (patch) | |
| tree | 733b11d8a935c11719629adb320db31135f5f178 /getmepostgres.sh | |
| parent | should be almost functional now (diff) | |
| download | medicine-2163349b8e5c5a5eca21c5865563552365e42209.tar.gz medicine-2163349b8e5c5a5eca21c5865563552365e42209.zip | |
removed postgres password
Diffstat (limited to 'getmepostgres.sh')
| -rwxr-xr-x | getmepostgres.sh | 2 |
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;"; |
