Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Generate hashed passwords for ansible

python3 -c 'import crypt,getpass;pw=getpass.getpass();print(crypt.crypt(pw) if (pw==getpass.getpass("Confirm: ")) else exit())'
Source by codepre.com #
 
PREVIOUS NEXT
Tagged: #Generate #hashed #passwords #ansible
ADD COMMENT
Topic
Name
7+5 =