Page MenuHomeLubuntu

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

Authored by apt-ghetto on Nov 14 2018, 12:12 PM.



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

Diff Detail

rLXQTSUDOPACKAGING lxqt-sudo Packaging
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

apt-ghetto requested review of this revision.Nov 14 2018, 12:12 PM
apt-ghetto created this revision.
tsimonq2 accepted this revision.Nov 16 2018, 4:35 PM
This revision is now accepted and ready to land.Nov 16 2018, 4:35 PM
This revision was automatically updated to reflect the committed changes.