Package: lxqt-sudo / 0.14.1-2

Metadata

Package Version Patches format
lxqt-sudo 0.14.1-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
set home and term.patch | (download)

sudo.cpp | 37 26 + 11 - 0 !
1 file changed, 26 insertions(+), 11 deletions(-)

 sudo: fix (re)setting home and termwith sudo backend

With the -E (--preserve-env) parameter and our stripped environment sudo
does not set HOME. With explicitly defining the list of preserved env
vars (--preserve-env=FOO,BAH..) sudo sets the HOME correctly in the
priviledged process. TERM was added to the preserved env vars too.

Note: This needs at least sudo v1.8.21
(https://www.sudo.ws/repos/sudo/rev/a6bc511a2e81).