Last active
December 18, 2015 22:49
-
-
Save tkuchiki/5856709 to your computer and use it in GitHub Desktop.
/etc/shadow に保存される hash 値の生成方法(CentOS 6) [参考: http://serverfault.com/questions/330069/how-to-create-an-sha-512-hashed-password-for-shadow]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Mac は $6$ に対応していないので使用不可 | |
python -c 'import crypt; print crypt.crypt("PASSWORD", "$6$random_salt")'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment