the fix for bug 3364300 - not display passwords in xcat commands or logs.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12322 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
4b1ffd819e
commit
939d35a0fe
@ -298,6 +298,8 @@ sub runmysqlcmd
|
||||
if ($? > 0) # error
|
||||
{
|
||||
$rc = $? >> 8;
|
||||
# secure password
|
||||
$cmd = "$mysql --user=$admin --password=xxxxxx --host=$hostname $dbname \< $file ";
|
||||
xCAT::MsgUtils->message("SE",
|
||||
"The command $cmd had errors. Return=$rc");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user