Merge pull request #13934 from dlangille/dlangille-patch-2

Specify the correct default options for sudo_flags
This commit is contained in:
Brian Coca 2016-01-18 17:42:39 -05:00
commit 11ca4e6282

View file

@ -587,11 +587,12 @@ the sudo implementation is matching CLI flags with the standard sudo::
sudo_flags sudo_flags
========== ==========
Additional flags to pass to sudo when engaging sudo support. The default is '-H' which preserves the $HOME environment variable Additional flags to pass to sudo when engaging sudo support. The default is '-H -S -n' which sets the HOME environment
of the original user. In some situations you may wish to add or remove flags, but in general most users variable, prompts for passwords via STDIN, and avoids prompting the user for input of any kind. Note that '-n' will conflict
will not need to change this setting:: with using password-less sudo auth, such as pam_ssh_agent_auth. In some situations you may wish to add or remove flags, but
in general most users will not need to change this setting:::
sudo_flags=-H sudo_flags=-H -S -n
.. _sudo_user: .. _sudo_user: