diff options
author | mao xiaojuan <xiaojuan.mao@samsung.com> | 2018-04-27 15:23:43 +0800 |
---|---|---|
committer | mao xiaojuan <xiaojuan.mao@samsung.com> | 2018-04-27 15:24:23 +0800 |
commit | 245474577fd6b2d970683c2fe71450c76f2d76d1 (patch) | |
tree | 6fd54f2be4d5fb952b6f432c8b2f7331a6e831ef | |
parent | 8fa79e49fd7634d94dc48eb6db5e427cef199d63 (diff) | |
download | mic-245474577fd6b2d970683c2fe71450c76f2d76d1.tar.gz mic-245474577fd6b2d970683c2fe71450c76f2d76d1.tar.bz2 mic-245474577fd6b2d970683c2fe71450c76f2d76d1.zip |
Change the user and root passwd hash algorithm order to avoid user name same as root name.
Change-Id: I6ceb8cf1d0a5f534ec533edadd5218a0b7ffd05d
-rw-r--r--[-rwxr-xr-x] | mic/imager/baseimager.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mic/imager/baseimager.py b/mic/imager/baseimager.py index e29e510..3762884 100755..100644 --- 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) |