env_delete += "LC_ALL" is ignored
Bug #314544 reported by
Gioele Barabucci
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sudo |
Unknown
|
Unknown
|
|||
sudo (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
sudo 1.6.9p17 ignores env_delete += "LC_something" and env_delete = "LC_something" in /etc/sudoers
$ sudo cat /etc/sudoers | grep Defaults
# Defaults
Defaults !lecture,
Defaults env_delete += "LC_ALL LC_NAME"
$ export LC_ALL='foobar'
$ sudo -i
# set | grep LC_ALL
LC_ALL=foobar
To post a comment you must log in.
This is a comment I received from the author:
env_delete is only used when env_reset is not enabled.
Since env_reset is the default now, you probably want to
remove "LC_*" from env_check.