[PATCH] patch to skip accounts screen if using autostep and encrypted root password (#471122)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux