Page MenuHomeLubuntu

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

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

Details

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

Diff Detail

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

Event Timeline

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