Bug 109407

Summary: system log includes plaintext passwords
Product: [Retired] Red Hat Linux Reporter: Frank Ch. Eigler <fche>
Component: mysqlAssignee: Patrick Macdonald <patrickm>
Status: CLOSED NOTABUG QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 9Keywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-11-07 15:39:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Frank Ch. Eigler 2003-11-07 15:38:16 UTC
mysql_install_db prints into the system log (/var/log/messages)
the plaintext initial administrative passwords.  Ideally it
should obscure those strings.

e.g.:

Nov  3 11:17:48 tomaluk mysql_install_db: /usr/bin/mysqladmin -u root
 password 'new-password'
Nov  3 11:17:48 tomaluk mysql_install_db: /usr/bin/mysqladmin -u root
-h tomaluk.toronto.redhat.com  password 'new-password'

should be something like:

Nov  3 11:17:48 tomaluk mysql_install_db: /usr/bin/mysqladmin -u root
 password '(REDACTED)'
Nov  3 11:17:48 tomaluk mysql_install_db: /usr/bin/mysqladmin -u root
-h tomaluk.toronto.redhat.com  password '(REDACTED)'

Comment 1 Frank Ch. Eigler 2003-11-07 15:39:26 UTC
Sorry, screwed up misreading the rest of the log.
This is just sample text being printed by the installation scripts,
not actually being executed.