Description of problem: Fresh JON installation asks rhq.autoinstall.server.admin.password on console. Password is visible while typing as well it confirming with clear text on console. Which is stored in encrypted format in rhq-server.properties ---------- [hudson@jeeva-ha3-jxc bin]$ ./rhqctl install 06:58:16,537 INFO [org.jboss.modules] JBoss Modules version 1.3.3.Final-redhat-1 The [rhq.autoinstall.server.admin.password] property is required but not set in [rhq-server.properties]. Do you want to set [rhq.autoinstall.server.admin.password] value now? yes|no: yes rhq.autoinstall.server.admin.password: rhqadmin Is [rhqadmin] correct? yes|no: ---------- Version-Release number of selected component (if applicable): JBoss Operations Network Version : 3.3.0.ER02 Build Number : 4fbb183:7da54e2 GWT Version : 2.5.0 SmartGWT Version : 3.0p How reproducible: always Steps to Reproduce: 1. leave blank 'rhq.autoinstall.server.admin.password' in rhq-server.properties file 2. execute './rhqctl'
Jeeva, this is actually working as designed: the password is typed into the installer's console, which doesn't keeps a history. So, unless there's some aspect that I'm missing, I'd suggest to close this as "not a bug".
In JBoss while adding password (ex: user password) via console it is not visible. What I feel is, it will be good if 'JBoss ON' also have similar approach as it's in JBoss family.
I'm going to try to fix this.
commit 07151ddb23e6065d5a72ae900b1cbf420b00e27c Author: John Mazzitelli <mazz> Date: Thu Sep 18 16:51:51 2014 -0400 BZ 1141181 1129413 - don't echo passwords to the console. ask to confirm passwords
commit b5b0e2d18e33b921f4bf57454179efd1707f1a9f Author: John Mazzitelli <mazz> Date: Thu Sep 18 16:51:51 2014 -0400 BZ 1141181 1129413 - don't echo passwords to the console. ask to confirm passwords (cherry picked from commit 07151ddb23e6065d5a72ae900b1cbf420b00e27c)
Moving to ON_QA as available for test with build: https://brewweb.devel.redhat.com/buildinfo?buildID=388959
Version: Version : 3.3.0.ER04 Build Number : 99d2107:d7c537e GWT Version : 2.5.0 SmartGWT Version : 3.0p Password invisible as expected. but if we enter different password and confirm password should report error message BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1150064