Updated Branches:
  refs/heads/master 74cb4b1c5 -> 50a428c3a

CLOUDSTACK-4886: printing ****** to stdout instead of db users password


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/50a428c3
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/50a428c3
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/50a428c3

Branch: refs/heads/master
Commit: 50a428c3aa15e9ff509c11fadddc31a767abb5b7
Parents: 74cb4b1
Author: Rajani Karuturi <rajanikarut...@gmail.com>
Authored: Fri Dec 20 16:28:33 2013 +0530
Committer: SrikanteswaraRao Talluri <tall...@apache.org>
Committed: Fri Dec 20 17:38:39 2013 +0530

----------------------------------------------------------------------
 setup/bindir/cloud-setup-databases.in | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/50a428c3/setup/bindir/cloud-setup-databases.in
----------------------------------------------------------------------
diff --git a/setup/bindir/cloud-setup-databases.in 
b/setup/bindir/cloud-setup-databases.in
index b58dc24..2ba7d51 100755
--- a/setup/bindir/cloud-setup-databases.in
+++ b/setup/bindir/cloud-setup-databases.in
@@ -442,7 +442,7 @@ for example:
                     self.errorAndExit("--deploy-as= user name cannot be the 
user name supplied for the connection credentials")
 
                 self.info("Mysql root user name:%s"%self.rootuser, True)
-                self.info("Mysql root user password:%s"%self.rootpassword, 
True)
+                self.info("Mysql root user password:%s"%"******", True)
 
             if self.options.serversetup:
                 if not self.options.rootcreds:
@@ -514,10 +514,7 @@ for example:
             self.host,self.port = parseHostInfo(stuff[1])
 
             self.info("Mysql user name:%s"%self.user, True)
-            if self.password:
-                self.info("Mysql user password:%s"%self.password, True)
-            else:
-                self.info("Mysql user password:", True)
+            self.info("Mysql user password:%s"%"******", True)
             self.info("Mysql server ip:%s"%self.host, True)
             self.info("Mysql server port:%s"%self.port, True)
 

Reply via email to