Advertisement
Guest User

Untitled

a guest
Oct 14th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. import subprocess
  2.  
  3. name_of_user=input("Input name of user: ")
  4.  
  5. subprocess.call("adduser "+name_of_user,shell=True)
  6.  
  7. user_password=input("Your password: ")
  8. subprocess.call(user_password,shell=True)
  9. again_password=input("Type password again: ")
  10. subprocess.call(again_password,shell=True)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement