Why sudo doesn't keep TMPDIR in the environment when using Preserve flag or env_keep option?
Issue
- The
TMPDIRenvironment variable is not passed to thesudocommand even though thesudoersfile is configured to do so
Environment
- Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.