sudo env_reset and env_keep
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sudo (Ubuntu) |
Fix Released
|
High
|
Martin Pitt |
Bug Description
sudo 1.6.8p12-1ubunutu3
sudo in dapper doesn't use env_reset and env_keep options. With curren sudo, I have bug 30432 and 30077.
I put the following options with visudo,
Defaults env_reset
Defaults env_keep = "COLORS DISPLAY HOSTNAME HISTSIZE INPUTRC KDEDIR \
these options are from
https:/
After applying the options,
sudo kate is working
kdesu kate is working
sudo synaptic is working
gksudo synaptic isn't working
( Xlib: connection88H7 to ":0.0" refused by server
Xlib: No protocol specified )
I think somehow KDEDIR option may fix my "sudo kate" problem in half way, but don't know how to fix "gksudo synaptic".
Please take a look these options.
Changed in sudo: | |
assignee: | nobody → pitti |
Changed in sudo: | |
status: | Unconfirmed → Confirmed |
Changed in sudo: | |
status: | Confirmed → In Progress |
In addition, said "half way" above, because sudo kate is working with the above options, but skim is not (There is no more two skim icons on system tray, but couldn't input other languages than English. I think skim/scim is simply deactivated by the options). I added XMODIFIRERS, GTK_IM_MODULE and QT_IM_MODULE to env_keep, but it's hang same as before.
/subscribe ubuntu-cjk-testers