From a4a9ab417280cfb43f7026fe94c927c8515f0a42 Mon Sep 17 00:00:00 2001 From: zhang_xubo <2578876417@qq.com> Date: Wed, 3 Feb 2021 10:23:40 +0800 Subject: [PATCH] delete password param in gs_sshexkey which is not safe --- script/gs_sshexkey | 3 --- 1 file changed, 3 deletions(-) diff --git a/script/gs_sshexkey b/script/gs_sshexkey index e16fc6a..0859ddf 100644 --- a/script/gs_sshexkey +++ b/script/gs_sshexkey @@ -170,7 +170,6 @@ General options: -l Path of log file. --skip-hostname-set Whether to skip hostname setting. (The default value is set.) - -W Password of nodes. -?, --help Show help information for this utility, and exit the command line mode. -V, --version Show version information. @@ -197,8 +196,6 @@ General options: self.logFile = paraDict.get("logFile") if ("skipHostnameSet" in paraDict.keys()): self.skipHostnameSet = paraDict.get("skipHostnameSet") - if ("passwords" in paraDict.keys()): - self.passwd = paraDict.get("passwords") if ("noDeduplicate" in paraDict.keys()): self.nodeduplicate = paraDict.get("noDeduplicate")