|
|
@ -1113,8 +1113,8 @@ class cl_install(color_print):
|
|
|
|
def getPwdHashUser(self, userName):
|
|
|
|
def getPwdHashUser(self, userName):
|
|
|
|
cl_overriding.printSUCCESS(_("Enter password for user %s") %userName)
|
|
|
|
cl_overriding.printSUCCESS(_("Enter password for user %s") %userName)
|
|
|
|
userPwd = getUserPassword()
|
|
|
|
userPwd = getUserPassword()
|
|
|
|
if userPwd is False:
|
|
|
|
while userPwd is False:
|
|
|
|
return False
|
|
|
|
userPwd = getUserPassword()
|
|
|
|
encryptObj = encrypt()
|
|
|
|
encryptObj = encrypt()
|
|
|
|
pwdHash = encryptObj.getHashPasswd(userPwd, "shadow_ssha256")
|
|
|
|
pwdHash = encryptObj.getHashPasswd(userPwd, "shadow_ssha256")
|
|
|
|
if pwdHash is False:
|
|
|
|
if pwdHash is False:
|
|
|
|