summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-08-07 17:47:20 +0000
committerChris Lumens <clumens@redhat.com>2006-08-07 17:47:20 +0000
commit667f7e624b564e659c054012dbcc5a0e9aa0347a (patch)
treef8dd32bda8c06c9d837f20788d22de0949aa894f
parent0a1771e5eb5d2d068cad0f8e1cb13d3e449abfb4 (diff)
downloadanaconda-667f7e624b564e659c054012dbcc5a0e9aa0347a.tar.gz
anaconda-667f7e624b564e659c054012dbcc5a0e9aa0347a.tar.xz
anaconda-667f7e624b564e659c054012dbcc5a0e9aa0347a.zip
Always set the password field as unencrypted, so interactive kickstart installs
get the right value written into /etc/shadow (#201455).
-rw-r--r--ChangeLog5
-rw-r--r--iw/account_gui.py1
-rw-r--r--textw/userauth_text.py1
3 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 10012a7ec..9498abd07 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,11 @@
* xsetup.py (XSetup.getMonitorArgList): getMonitor is very sync!
+ * iw/account_gui.py (AccountWindow.getNext): Always set the password
+ field as unencrypted, so interactive kickstart installs get the right
+ value written into /etc/shadow (#201455).
+ * textw/userauth_text.py (RootPasswordWindow.__call__): Likewise.
+
2006-08-07 Jeremy Katz <katzj@redhat.com>
* scripts/mk-images.ia64 (makeBootImage): Add a first pass at
diff --git a/iw/account_gui.py b/iw/account_gui.py
index a7f46b7a4..081102224 100644
--- a/iw/account_gui.py
+++ b/iw/account_gui.py
@@ -69,6 +69,7 @@ class AccountWindow (InstallWindow):
passwordError()
self.rootPassword["password"] = self.pw.get_text()
+ self.rootPassword["isCrypted"] = False
return None
def setFocus (self, area, data):
diff --git a/textw/userauth_text.py b/textw/userauth_text.py
index c29b44a1e..892f15ebe 100644
--- a/textw/userauth_text.py
+++ b/textw/userauth_text.py
@@ -78,4 +78,5 @@ class RootPasswordWindow:
screen.popWindow()
anaconda.id.rootPassword["password"] = entry1.value()
+ anaconda.id.rootPassword["isCrypted"] = False
return INSTALL_OK