Skip to content

Instantly share code, notes, and snippets.

@shishi
Created October 10, 2013 05:46
Show Gist options
  • Save shishi/6913618 to your computer and use it in GitHub Desktop.
Save shishi/6913618 to your computer and use it in GitHub Desktop.
Linux で生成される /etc/password の hash を手元で生成する方法 ref: http://qiita.com/shishi@github/items/46808113b929e985e97d
python -c "import crypt, getpass, pwd; print crypt.crypt('hogehoge', '\$6\$SALTdayo\$')"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment