From 5488a8fa45ba4da3a390c37163bb2784d58ee037 Mon Sep 17 00:00:00 2001 From: milisman Date: Wed, 12 Oct 2016 00:00:44 +0300 Subject: [PATCH] milis-kurulum-test.py --- bin/milis-kurulum-test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/milis-kurulum-test.py b/bin/milis-kurulum-test.py index 035bd22f7..b62c9a8a6 100644 --- a/bin/milis-kurulum-test.py +++ b/bin/milis-kurulum-test.py @@ -59,7 +59,7 @@ def createUser(name,username,password): #encPass = crypt.crypt(password,"22") #os.system("useradd -p "+encPass+ " -s "+ "/bin/bash "+ "-d "+ "/home/" + username+ " -m "+ " -c \""+ name+"\" " + username) os.system("kopar milis-"+name+" "+username) - os.system('echo -e "'password+'\n'+password'" | passwd '+username) + os.system('echo -e "'+password+'\n'+password+'" | passwd '+username) def checkUserPassword(username): #insecure=True parolanın yıldız şeklinde gözükmesini sağlar,