Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-04-21 11:18, Basil Chupin wrote:
Marcus asked, "WHat is in the "Defaults env...." variables in your /etc/sudoers?".
I tried to replicate the problem, I have not edited sudoers. I do:
cer@Elanor:~> sudo yast --qt root's password: sudo: yast: command not found
Ok, the path.
cer@Elanor:~> sudo /sbin/yast --qt cer@Elanor:~> sudo /sbin/yast2 --qt cer@Elanor:~> sudo /sbin/YaST --qt
All three instances get the ncurses interface, not the qt interface - and I do get qt if I use "su -" instead.
I'm running xfce.
So, sudo is broken. What else? :-P
---- Given that env settings are set on login, and adjusted to the user -- throwing away all the env settings in SUDO by default, is a draconian security measure guaranteed to cause problems. It didn't **used** to be that way, but someone in some update tried to "fix" a problem I didn't need fixing. I tried listing "exceptions" (env vars allowed to pass through), only to find "Yet another App" that was broken... I gave up. and set it back to it's original settings which is where it is at now -- i.e. it passes my ENV var through... To the person who thought I didn't answer the question... My first line, I thought, was a strong hint.. "it is not impossible that you are correct"... ;-).... sorry, ready too much John Norman lately. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org