You are not logged in.

#1 2010-08-22 01:16:47

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

[SOLVED]Sudo update messed some stuff up.

So, sudo was updated a while ago now, but since it was, a program that is called with sudo uses its default config instead of the one in my home directory.

But, if I use su to log in as root and then launch a program, it uses the correct config! What's the deal? Sudo did not behave that way before. I am even using a fresh sudoers file now to see if that was the problem.

Last edited by pogeymanz (2010-08-22 13:08:57)

Offline

#2 2010-08-22 12:18:16

jac
Member
From: /home/jac
Registered: 2009-05-19
Posts: 431
Website

Re: [SOLVED]Sudo update messed some stuff up.

Have you taken a read through the new sudoers file? Specifically the part just before 'Defaults env_keep += "HOME"'. Looks like the default behavior was changed due to potential privilege escalation.

Offline

#3 2010-08-22 13:08:36

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

Re: [SOLVED]Sudo update messed some stuff up.

Well, imagine that: I didn't read and it bit me in the ass. Who knew?

Thanks.

Offline

Board footer

Powered by FluxBB