mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
bsd_shadow: add note on escaping dollar signs
This commit is contained in:
parent
197d8dab0f
commit
335f077ac5
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user