Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1230393 - katello-installer saves the password in cleartext
katello-installer saves the password in cleartext
Status: CLOSED WONTFIX
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Installer (Show other bugs)
6.0.8
All Linux
unspecified Severity high (vote)
: GA
: Unused
Assigned To: Chris Roberts
Katello QA List
: ReleaseNotes, Triaged
Depends On:
Blocks: sat61-release-notes
  Show dependency treegraph
 
Reported: 2015-06-10 15:32 EDT by Alexander Rydekull
Modified: 2016-08-30 09:51 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-08-30 09:51:03 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Alexander Rydekull 2015-06-10 15:32:26 EDT
Description of problem:
Passwords should not be saved in cleartext. When you run katello-installer, it saves the cleartext password.

Not only that, every time you run katello-installer successfully after that it gets echoed back. 

Really bad practice.

Version-Release number of selected component (if applicable):
6.0

How reproducible:
Always

Steps to Reproduce:
1. katello-installer --foreman-admin-password=redhat
2. katello-installer --capsule-tftp=true
3. Look at your password being displayed.

Actual results:
You see the password printed in clear text.

Expected results:
The same output, but without the password.


Additional info:
Comment 1 RHEL Product and Program Management 2015-06-10 15:32:35 EDT
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.
Comment 3 David O'Brien 2015-08-19 02:20:07 EDT
Is this actually rel note material?
What sort of doc text would be suitable?

thanks
Comment 7 David O'Brien 2016-04-17 20:48:20 EDT
Reset docs contact <> daobrien
Comment 10 Stephen Benjamin 2016-08-19 10:23:39 EDT
Chris, do note the echoing back on subsequent runs is solved already in BZ1125414.  

My personal opinion is WONTFIX on saving in clear text, due to the nature of the installer it'd be quite complicated to avoid this.  Change the password from the default after installation is the only way to avoid the saved password being the correct one. The installer saves a variety of other confidential info too like oauth tokens which are just as useful as the admin password, but all this stuff is only readable by the root user.
Comment 11 Chris Roberts 2016-08-30 09:51:03 EDT
Stephen,

I agree lets close this one out since the subsequent runs is already solved. 

Moving to wontfix based on your suggestions.

Note You need to log in before you can comment on or make changes to this bug.