Bug 51894

Summary: passwd -d in kickstart %post does not work
Product: [Retired] Red Hat Linux Reporter: Michael E Brown <michael_e_brown>
Component: anacondaAssignee: Brent Fox <bfox>
Status: CLOSED RAWHIDE QA Contact: Brock Organ <borgan>
Severity: high Docs Contact:
Priority: medium    
Version: 7.3CC: john_hull
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: 2001-08-16 18:57: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:
Attachments:
Description Flags
Kickstart file none

Description Michael E Brown 2001-08-16 16:20:38 UTC
Description of Problem:
The command, "/usr/bin/passwd -d" in the %post section of kickstart does 
not work.

Examination of STDOUT/STDERR of the kickstart %post contains the msg: 

delete password for root   <--produced by an "echo" immediately preceding 
Changing password for user root
Removing password for user root
passwd: Success

But, upon reboot of the system, the password specified by the "rootpw" 
line in the kickstart file is still in effect.

How Reproducible:
Floppy-based kickstart install

Actual Results:
Password specified by kickstart "rootpw" line is still in effect.

Expected Results:
No password for root.

Comment 1 Michael E Brown 2001-08-16 16:22:13 UTC
Created attachment 28135 [details]
Kickstart file

Comment 2 Glen Foster 2001-08-16 18:57:21 UTC
This defect is considered MUST-FIX for Fairfax.

Comment 3 Brent Fox 2001-08-16 19:18:52 UTC
This should be fixed now.  Thanks for your report.