From: David Kalnischkies Date: Wed, 9 Nov 2016 18:15:01 +0000 (+0100) Subject: reset HOME, USER(NAME), TMPDIR & SHELL in DropPrivileges X-Git-Tag: 1.4_beta1~41 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/34b491e735ad47c4805e63f3b83a659b8d10262b?hp=34b491e735ad47c4805e63f3b83a659b8d10262b reset HOME, USER(NAME), TMPDIR & SHELL in DropPrivileges We can't cleanup the environment like e.g. sudo would do as you usually want the environment to "leak" into these helpers, but some variables like HOME should really not have still the value of the root user – it could confuse the helpers (USER) and HOME isn't accessible anyhow. Closes: 842877 ---