bsd_shadow: add note on escaping dollar signs

This commit is contained in:
Erik Johnson 2013-07-26 13:18:23 -05:00
parent 197d8dab0f
commit 335f077ac5

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.