mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Merge pull request #6336 from terminalmage/quickfix
bsd_shadow: add note on escaping dollar signs
This commit is contained in:
commit
294d668385
@ -64,6 +64,9 @@ def set_password(name, password):
|
|||||||
|
|
||||||
``python -c "import crypt; print crypt.crypt('password', ciphersalt)"``
|
``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
|
``'password'`` is, of course, the password for which you want to generate
|
||||||
a hash.
|
a hash.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user