□ using mkpasswd make encrypted password

print "mypassword" | mkpasswd --stdin --method=md5

return md5 hash code -> blablablabla!@#!@$!@$

● method : des, md5, sha256, sha512

□ using chpasswd to user password change

printf 'userID:blablablabla!@#!@$!@$'|sudo chpasswd --encrypted

 

easy!

+ Recent posts