Ramblings of an engineer, motorcyclist and musician...
python -c "import crypt, getpass, pwd; \ print(crypt.crypt('password', '\$6\$saltsalt\$'))"