Skip to content

Instantly share code, notes, and snippets.

@herry13
Created March 28, 2014 12:02
Show Gist options
  • Select an option

  • Save herry13/9831123 to your computer and use it in GitHub Desktop.

Select an option

Save herry13/9831123 to your computer and use it in GitHub Desktop.
Generate hash password for shadow file
python -c 'import crypt; print crypt.crypt("password", "random_salt")'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment