Bug 51894 - passwd -d in kickstart %post does not work
Summary: passwd -d in kickstart %post does not work
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: anaconda   
(Show other bugs)
Version: 7.3
Hardware: i386
OS: Linux
medium
high
Target Milestone: ---
Assignee: Brent Fox
QA Contact: Brock Organ
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-08-16 16:20 UTC by Michael E Brown
Modified: 2007-04-18 16:35 UTC (History)
1 user (show)

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: ---


Attachments (Terms of Use)
Kickstart file (5.56 KB, text/plain)
2001-08-16 16:22 UTC, Michael E Brown
no flags Details

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.


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