[node-patches] Change in ovirt-node[master]: remove hashed passwords from being logged during autoinstall

jboggs at redhat.com jboggs at redhat.com
Fri Apr 26 19:35:14 UTC 2013


Joey Boggs has uploaded a new change for review.

Change subject: remove hashed passwords from being logged during autoinstall
......................................................................

remove hashed passwords from being logged during autoinstall

rhbz#957234

Signed-off-by: Joey Boggs <jboggs at redhat.com>
Change-Id: I2f22e63a127fc520e258e60deea852575b68dbb7
---
M scripts/ovirt-init-functions.sh
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/76/14276/1

diff --git a/scripts/ovirt-init-functions.sh b/scripts/ovirt-init-functions.sh
index eb712c9..5aab29a 100644
--- a/scripts/ovirt-init-functions.sh
+++ b/scripts/ovirt-init-functions.sh
@@ -847,18 +847,18 @@
     }
 
     if [ -n "$cim_passwd" ]; then
-        log "Setting temporary admin password: $cim_passwd"
+        log "Setting temporary admin password"
         unmount_config /etc/passwd /etc/shadow
         /usr/sbin/usermod -p "$cim_passwd" cim
     fi
     if [ -n "$adminpw" ]; then
-        log "Setting temporary admin password: $adminpw"
+        log "Setting temporary admin password"
         unmount_config /etc/passwd /etc/shadow
         /usr/sbin/usermod -p "$adminpw" admin
         chage -d 0 admin
     fi
     if [ -n "$rootpw" ]; then
-        log "Setting temporary root password: $rootpw"
+        log "Setting temporary root password"
         unmount_config /etc/passwd /etc/shadow
         /usr/sbin/usermod -p "$rootpw" root
         chage -d 0 root


--
To view, visit http://gerrit.ovirt.org/14276
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2f22e63a127fc520e258e60deea852575b68dbb7
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Joey Boggs <jboggs at redhat.com>



More information about the node-patches mailing list