diff --git a/main.py b/main.py index 4ea7801..bba4197 100755 --- a/main.py +++ b/main.py @@ -75,7 +75,7 @@ def createUser(): hashingCommand = ''' mkpasswd -m sha-512 {0} '''.format(rawPassword) - passwordHashProcessDescriptor = subprocess.Popen([hashingCommand, shell=True, stdout=subprocess.PIPE, stderr=STDOUT) + passwordHashProcessDescriptor = subprocess.Popen([hashingCommand, stdout=subprocess.PIPE, stderr=STDOUT) hashedPassword = passwordHashProcessDescriptor.communicate()[0] hashedPassword = hashedPassword.decode("ascii")