Bug 51894 - passwd -d in kickstart %post does not work
passwd -d in kickstart %post does not work
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: anaconda (Show other bugs)
7.3
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Brent Fox
Brock Organ
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-08-16 12:20 EDT by Michael E Brown
Modified: 2007-04-18 12:35 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-08-16 14:57:26 EDT
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 12:22 EDT, Michael E Brown
no flags Details

  None (edit)
Description Michael E Brown 2001-08-16 12:20:38 EDT
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 12:22:13 EDT
Created attachment 28135 [details]
Kickstart file
Comment 2 Glen Foster 2001-08-16 14:57:21 EDT
This defect is considered MUST-FIX for Fairfax.
Comment 3 Brent Fox 2001-08-16 15:18:52 EDT
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.