Skip to content

Commit

Permalink
Replace default root password when still in hibernate properties file
Browse files Browse the repository at this point in the history
  • Loading branch information
Remold Krol committed Sep 19, 2014
1 parent c25e157 commit d13846f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/components/grouper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ else
-e "s~^hibernate.connection.username.*~hibernate.connection.username=root~" \
-e "s~^hibernate.connection.password.*~hibernate.connection.password=$OC__ROOT_DB_PASS~"

#Still grouper.hibernate.properties:#hibernate.connection.password = c0n3xt
sed -i "s~c0n3xt~$OC__ROOT_DB_PASS~g" grouper.apiBinary-${GROUPER_VERSION}/conf/grouper.hibernate.properties

# Set properties in grouper props to
# 1. autocreate the admin groups
# 2. add a 'wheel' group (that is: etc:sysadmingroup) to enable users in that group to obtain admin privileges
Expand Down

0 comments on commit d13846f

Please sign in to comment.