Merge pull request #6336 from terminalmage/quickfix

bsd_shadow: add note on escaping dollar signs
This commit is contained in:
Joseph Hall 2013-07-26 11:20:33 -07:00
commit 294d668385

View File

@ -64,6 +64,9 @@ def set_password(name, password):
``python -c "import crypt; print crypt.crypt('password', ciphersalt)"``
:strong:`NOTE:` When constructing the ``ciphersalt`` string, you must
escape any dollar signs, to avoid them being interpolated by the shell.
``'password'`` is, of course, the password for which you want to generate
a hash.