From 8f0d8f2d202276942581c3f5059e01f73df08082 Mon Sep 17 00:00:00 2001 From: mao xiaojuan Date: Fri, 27 Apr 2018 15:23:43 +0800 Subject: [PATCH] Change the user and root passwd hash algorithm order to avoid user name same as root name. Change-Id: I6ceb8cf1d0a5f534ec533edadd5218a0b7ffd05d Signed-off-by: jinxiao --- mic/imager/baseimager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 mic/imager/baseimager.py diff --git a/mic/imager/baseimager.py b/mic/imager/baseimager.py old mode 100755 new mode 100644 index e29e510..3762884 --- a/mic/imager/baseimager.py +++ b/mic/imager/baseimager.py @@ -1359,8 +1359,8 @@ class BaseImageCreator(object): kickstart.TimezoneConfig(self._instroot).apply(ksh.timezone) #kickstart.AuthConfig(self._instroot).apply(ksh.authconfig) kickstart.FirewallConfig(self._instroot).apply(ksh.firewall) - kickstart.RootPasswordConfig(self._instroot).apply(ksh.rootpw) kickstart.UserConfig(self._instroot).apply(ksh.user) + kickstart.RootPasswordConfig(self._instroot).apply(ksh.rootpw) kickstart.ServicesConfig(self._instroot).apply(ksh.services) kickstart.XConfig(self._instroot).apply(ksh.xconfig) kickstart.NetworkConfig(self._instroot).apply(ksh.network) -- 2.7.4