Merge pull request #30097 from cachedout/note_on_password_process_list

Note concern about cleartext password in docs for shadow.gen_password
This commit is contained in:
Mike Place 2015-12-30 15:37:33 -07:00
commit 25edefc93a

View file

@ -142,6 +142,12 @@ def gen_password(password, crypt_salt=None, algorithm='sha512'):
Generate hashed password
.. note::
When called this function is called directly via remote-execution,
the password argument may be displayed in the system's process list.
This may be a security risk on certain systems.
password
Plaintext password to be hashed.