Bug 2460

Summary: Kickstart encrypts an iscrypted password
Product: [Retired] Red Hat Linux Reporter: gordon.m.tetlow
Component: installerAssignee: Matt Wilson <msw>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 6.0CC: cwg-redhat, mike, osi
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-05-28 23:51:32 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 gordon.m.tetlow 1999-05-01 05:20:33 UTC
When using kickstart to install a machine, I used an already
encrypted password. When it rebooted I couldn't log in as
root. After some investigating, I found out if I presented
the password hash I had specified in the kickstart file, it
would then let me log in.

In other words, during the install, the encrypted password
was encrypted again.

Comment 1 gordon.m.tetlow 1999-05-01 06:29:59 UTC
I checked the value of skipCrypt and found it to be 0 after the call
to poptGetContext inside of setRootPassword inside install2.c

This seems to be the problem, although why the poptGetContext is
returning skipCrypt as 0 is beyond me.

Gordon

Comment 2 David Lawrence 1999-05-10 19:52:59 UTC
I have verified this on a test lab machine.

Comment 3 David Lawrence 1999-05-10 19:54:59 UTC
*** Bug 2627 has been marked as a duplicate of this bug. ***


When doing a kickstart installation with RedHat 6.0
(kickstart is great!) and writing something like

rootpw --iscrypted 8d78LWoez74ef

in the kickstart file sets the root password to "8d78LWoe".
--iscrypted still worked in 5.2.  I quickly looked through
the code in install2, but there were little changes in
the password code, so I could not figure the problem out.
I have --useshadow in auth config.

Comment 4 Matt Wilson 1999-05-28 23:51:59 UTC
*** This bug has been marked as a duplicate of 2880 ***

Comment 5 Mike Smith 1999-06-16 23:51:59 UTC
This issue is not resolved....I have downloaded the updated
bootnet.img and it is still doing the same thing. It is crypting
the iscrypted text

Comment 6 osi 1999-06-17 08:13:59 UTC
Yep, I can confirm this as well.  The bootnet image dated
May 28th did not fix the problem.

Comment 7 openshift-github-bot 2016-09-19 19:10:04 UTC
Commit pushed to master at https://github.com/openshift/openshift-ansible

https://github.com/openshift/openshift-ansible/commit/47a2e769d1cd462d213f1367122e6af8c862650e
Merge pull request #2470 from abutcher/issue2460

[uninstall] Stop services on all hosts prior to removing files.