Skip to content

Commit c06faf1

Browse files
committed
fix Host Password Exposed in Command-Line Logging During Password Update Operations
1 parent a50de02 commit c06faf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/hypervisors/xenserver/src/main/java/com/cloud/hypervisor/xenserver/resource/wrapper/xenbase/CitrixUpdateHostPasswordCommandWrapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public Answer execute(final UpdateHostPasswordCommand command, final CitrixResou
4545

4646
Pair<Boolean, String> result;
4747
try {
48-
logger.debug("Executing command in Host: " + cmdLine);
48+
logger.debug("Executing password update command on host: " + hostIp + " for user: " + username);
4949
final String hostPassword = citrixResourceBase.getPwdFromQueue();
5050
result = xenServerUtilitiesHelper.executeSshWrapper(hostIp, 22, username, null, hostPassword, cmdLine.toString());
5151
} catch (final Exception e) {

0 commit comments

Comments
 (0)