RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 995531 - When installing via kickstart with encrypted sha512 rootpw line, Anaconda ignores the password and prompts for root password to be set
Summary: When installing via kickstart with encrypted sha512 rootpw line, Anaconda ign...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: anaconda
Version: 6.4
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Chris Lumens
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks: 1075802 1159928
TreeView+ depends on / blocked
 
Reported: 2013-08-09 15:56 UTC by BJ Walker
Modified: 2018-12-03 19:34 UTC (History)
3 users (show)

Fixed In Version: anaconda-13.21.232-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-07-22 06:21:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1297 0 normal SHIPPED_LIVE anaconda bug fix and enhancement update 2015-07-20 17:48:39 UTC

Description BJ Walker 2013-08-09 15:56:35 UTC
Description of problem:
In RHEL 5, when using a sha512 encryption password on the 'rootpw' line via kickstart RHEL would still prompt to confirm the root password during an interactive install, but would populate the field with the encrypted line, however in RHEL 6, the prompt remains however the encrypted password does not actually populate, causing a new password to have to be chosen.

Version-Release number of selected component (if applicable):
anaconda-13.21.195-1.el6

How reproducible:
100% of the time

Steps to Reproduce:
1. Create a kickstart with the following lines for 'rootpw' and 'authconfig' and for an interactive install:

install
interactive
cdrom
rootpw  --iscrypted $6$l5NetPTsAjasrUal$etQQS2blHKGpF7IzfPHH0PcJi9.z6VaMJowb49i7KdSKPe.as7Pcb1C50gkQxT7O5NNe2dJAjdJYueM69Cf4Q.
authconfig --enableshadow --passalgo=sha512

2. Boot off of RHEL 6.4 installation media
3. Add ks= line for kickstart file (served locally *or* remotely)
4. Let install start, follow prompts during interactive portion and await root password prompt without encrypted password populated

Actual results:
Root password prompt is empty

Expected results:
Root password prompt is populated with encrypted password, similar to RHEL 5 behavior

Additional info:
None

Comment 1 RHEL Program Management 2013-10-14 02:47:35 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 4 Alexander Todorov 2015-03-25 10:26:34 UTC
(In reply to BJ Walker from comment #0)
> 
> install
> interactive
> cdrom
> rootpw  --iscrypted
> $6$l5NetPTsAjasrUal$etQQS2blHKGpF7IzfPHH0PcJi9.z6VaMJowb49i7KdSKPe.
> as7Pcb1C50gkQxT7O5NNe2dJAjdJYueM69Cf4Q.
> authconfig --enableshadow --passalgo=sha512
> 

With anaconda-13.21.232 and the above kickstart, the user is presented with the root password screen and the password is already populated. I didn't change it and went forward. Installation complated. /etc/shadow uses the same encrypted line. Moving to VERIFIED.

Comment 6 errata-xmlrpc 2015-07-22 06:21:23 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-1297.html


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