Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 157563

Summary: Anaconda quietly saves the FTP password
Product: [Fedora] Fedora Reporter: yuubyou+rhbz
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED WONTFIX QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 4   
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: 2006-01-17 19:23:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description yuubyou+rhbz 2005-05-12 18:53:29 UTC
Description of problem:

When installing via FTP to a real account, Anaconda masks the password, leading
the user to believe it will use reasonable care with the password. However, it
silently saves the password to /root/anaconda-ks.cfg on the installed system. 
This can easily lead to unintended disclosure of the password.


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


How reproducible:
always

Steps to Reproduce:
1. Select FTP install,`non-anonymous FTP'.
2. Proceed with install.
3. Inspect /root/anaconda-ks.cfg
  
Actual results:
Plaintext password in the ks file.

Expected results:
At least a warning on the password-entry form that the password will go into the
file.  Better would be an option to prevent saving the password.

Additional info:

Comment 1 Chris Lumens 2006-01-17 19:23:49 UTC
The anaconda-ks.cfg file is safely stored in root's home directory which has
0700 permissions, while the file itself is given 0600 permissions.  Note that
other passwords are stored in the anaconda-ks.cfg file too.