HomeLubuntu

Strip environment in lxqt-sudo to leave only required environment variables to…

Authored by apt-ghetto <apt-ghetto@users.noreply.github.com> on Fri, Nov 16, 4:35 PM.

Description

Strip environment in lxqt-sudo to leave only required environment variables to get into the elevated child process.

Summary: Strip environment variables in lxqt-sudo

Test Plan:

  1. Test first with lxqt-sudo from repo: lxqt-sudo env 2> env.txt
  2. Install this version
  3. Run lxqt-sudo env 2> env2.txt
  4. Compare env.txt with env2.txt: diff -y env.txt env2.txt
  5. Both files should differ in most environment variables, such as HOME

Reviewers: tsimonq2, wxl

Reviewed By: tsimonq2

Differential Revision: https://phab.lubuntu.me/D44

Details

Committed
tsimonq2Fri, Nov 16, 4:36 PM
Pushed
tsimonq2Fri, Nov 16, 4:36 PM
Reviewer
tsimonq2
Differential Revision
D44: Strip environment in lxqt-sudo to leave only required environment variables to get into the elevated child process.
Parents
rLXQTSUDOPACKAGING103dd3e937f5: Upload to Cosmic.
Branches
Unknown
Tags
Unknown
References
HEAD -> ubuntu/disco