ranger-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sneet...@apache.org
Subject git commit: ARGUS-69:Fixed bug in executing create user script for Oracle
Date Tue, 23 Sep 2014 13:32:19 GMT
Repository: incubator-argus
Updated Branches:
  refs/heads/master db0b1b8ad -> 6c11ec265


ARGUS-69:Fixed bug in executing create user script for Oracle

Signed-off-by: sneethiraj <sneethir@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/incubator-argus/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-argus/commit/6c11ec26
Tree: http://git-wip-us.apache.org/repos/asf/incubator-argus/tree/6c11ec26
Diff: http://git-wip-us.apache.org/repos/asf/incubator-argus/diff/6c11ec26

Branch: refs/heads/master
Commit: 6c11ec265288439600da645870e0280ff65ef40f
Parents: db0b1b8
Author: vperiasamy <vperiasamy@hortonworks.com>
Authored: Tue Sep 23 01:03:57 2014 -0400
Committer: sneethiraj <sneethir@apache.org>
Committed: Tue Sep 23 09:32:13 2014 -0400

----------------------------------------------------------------------
 security-admin/scripts/install.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/6c11ec26/security-admin/scripts/install.sh
----------------------------------------------------------------------
diff --git a/security-admin/scripts/install.sh b/security-admin/scripts/install.sh
index 8a2381a..dec3da7 100755
--- a/security-admin/scripts/install.sh
+++ b/security-admin/scripts/install.sh
@@ -268,7 +268,7 @@ create_db_user(){
 		if test "${result3#*$username}" == "$result3"
 		then
 			#create user
-			result4=`${SQL_COMMAND_INVOKER} -L -S "${db_root_user}"/"\"${db_root_password}\""@"${DB_HOST}"
AS SYSDBA <<< "create user ${db_user} identified by \"${db_password}"\;"`
+			result4=`${SQL_COMMAND_INVOKER} -L -S "${db_root_user}"/"\"${db_root_password}\""@"${DB_HOST}"
AS SYSDBA <<< "create user ${db_user} identified by \"${db_password}\";"`
 			result3=`${SQL_COMMAND_INVOKER} -L -S "${db_root_user}"/"\"${db_root_password}\""@"${DB_HOST}"
AS SYSDBA <<< "select UPPER(username) from all_users where UPPER(username)=UPPER('${db_user}');"`
 			username=`echo ${db_user} | tr '[:lower:]' '[:upper:]'`
 			#if user is not created print error message


Mime
View raw message