Bug 24168 - user passwords not set (20010116)
Summary: user passwords not set (20010116)
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: anaconda (Show other bugs)
(Show other bugs)
Version: 7.1
Hardware: i386 Linux
medium
medium
Target Milestone: ---
Assignee: Matt Wilson
QA Contact: Brock Organ
URL:
Whiteboard: Florence Beta-3
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-01-17 00:37 UTC by Jeremy Katz
Modified: 2007-04-18 16:30 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-02-20 00:00:07 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)

Description Jeremy Katz 2001-01-17 00:37:14 UTC
Just did a test install with anaconda from the 200101116 rawhide update and
although a user was added during the install, the password for the user is
not set in /etc/shadow upon completion of the install

Comment 1 Glen Foster 2001-01-17 18:14:00 UTC
This defect is considered MUST-FIX for Florence Beta-3

Comment 2 Matt Wilson 2001-01-22 05:29:08 UTC
My 1st go at the fix.....

retrieving revision 1.538
retrieving revision 1.539
diff -u -r1.538 -r1.539
--- todo.py	2001/01/20 01:45:06	1.538
+++ todo.py	2001/01/22 04:30:48	1.539
@@ -1233,7 +1233,7 @@
 
 	devnull = os.open("/dev/null", os.O_RDWR)
 
-	argv = [ "/usr/sbin/usermod", "-p", password, "root" ]
+	argv = [ "/usr/sbin/usermod", "-p", password, account ]
 	iutil.execWithRedirect(argv[0], argv, root = self.instPath, 
 			       stdout = '/dev/null', stderr = None)
 	os.close(devnull)


Comment 3 Matt Wilson 2001-01-22 05:53:00 UTC
should be fixed in today's build.



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