Skip to content

Commit c48d3db

Browse files
Adding a note for sudo (#192)
Added note on using stdin channel for sudo with password.
1 parent 9a298a7 commit c48d3db

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/advanced.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,10 @@ While not best practice and password-less ``sudo`` is best configured for a limi
362362
stdin.write('my_password\n')
363363
stdin.flush()
364364
client.join(output)
365+
366+
.. note::
367+
368+
Note the inclusion of the new line ``\n`` when using sudo with a password.
365369

366370
Output encoding
367371
-----------------

0 commit comments

Comments
 (0)