diff --git a/modules/scripts/change-superadmin-credentials.sh b/modules/scripts/change-superadmin-credentials.sh old mode 100644 new mode 100755 index fc0d2aa5..2f9f0494 --- a/modules/scripts/change-superadmin-credentials.sh +++ b/modules/scripts/change-superadmin-credentials.sh @@ -84,6 +84,11 @@ sed -i -e 's#\(\)'$val1'\(\)#\1'$val3'\2#g' sed -i -e 's#\(\)'$val2'\(\)#\1'$val4'\2#g' ../wso2/analytics/conf/input-event-adapters.xml echo "Completed!!" +echo "Changing /wso2/analytics/conf/output-event-adapters.xml" +sed -i -e 's#\(\)'$val1'\(\)#\1'$val3'\2#g' ../wso2/analytics/conf/input-event-adapters.xml +sed -i -e 's#\(\)'$val2'\(\)#\1'$val4'\2#g' ../wso2/analytics/conf/input-event-adapters.xml +echo "Completed!!" + echo "Changing /conf/user-mgt.xml" sed -i -e 's#\(\)'$val1'\(\)#\1'$val3'\2#g' ../conf/user-mgt.xml sed -i -e 's#\(\)'$val2'\(\)#\1'$val4'\2#g' ../conf/user-mgt.xml @@ -115,8 +120,8 @@ sed -i -e 's#\(\)'$val2'\(\)#\1'$val4'\2#g' ../wso2/broker/ echo "Completed!!" echo "Changing /wso2/broker/conf/broker.xml" -sed -i -e 's#\(\)'$val1'\(\)#\1'$val3'\2#g' ../wso2/broker/conf/broker.xml -sed -i -e 's#\(\)'$val2'\(\)#\1'$val4'\2#g' ../wso2/broker/conf/broker.xml +sed -i -e 's#\(\)'$val1'\(\)#\1'$val3'\2#g' ../wso2/broker/conf/broker.xml +sed -i -e 's#\(\)'$val2'\(\)#\1'$val4'\2#g' ../wso2/broker/conf/broker.xml echo "Completed!!" echo ""