Password Hash Generation for Linux (Python < 3.3)
Taken from https://unix.stackexchange.com/a/76337 and put here for convenience.
Replace "password" with your password and "saltsalt" with any random salt you want to come up with. This script can be run on the command line by placing the code inline like this:
$ python -c "import crypt, getpass, pwd; print(crypt.crypt('password', '\$6\$saltsalt\$'))"