[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[PATCH] patch to skip accounts screen if using autostep and encrypted root password (#471122)
- From: Martin Sivak <msivak redhat com>
- To: anaconda-devel-list redhat com
- Cc:
- Subject: [PATCH] patch to skip accounts screen if using autostep and encrypted root password (#471122)
- Date: Thu, 2 Apr 2009 16:43:04 +0200
---
iw/account_gui.py | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/iw/account_gui.py b/iw/account_gui.py
index 0811022..ae77e43 100644
--- a/iw/account_gui.py
+++ b/iw/account_gui.py
@@ -33,6 +33,9 @@ class AccountWindow (InstallWindow):
if not self.__dict__.has_key("pw"): return None
+ # check if we already have a crypted password from kickstart
+ if self.rootPassword["isCrypted"]: return None
+
pw = self.pw.get_text()
confirm = self.confirm.get_text()
@@ -139,5 +142,8 @@ class AccountWindow (InstallWindow):
if not self.rootPassword["isCrypted"]:
self.pw.set_text(self.rootPassword["password"])
self.confirm.set_text(self.rootPassword["password"])
+ else:
+ self.pw.set_text("xxxxxxxx")
+ self.confirm.set_text("xxxxxxxx")
return box
--
1.5.4.3
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]