LMDE update: problem with sudo.
Posted: Mon May 21, 2012 6:17 pm
All,
Got my 1177 packages upgrade more or less working. So far only one thing seems broken: it seems that when I sudo, I'm not getting access to my root path like I used to. My sudoers file is unchanged:
#
When I:
"sudo echo $PATH"
I see my normal users path, not root's path as I think I should. Because almost the whole system was upgraded, it's hard to know where to start looking. I use zsh, but had the same problem with bash.
I can do anything I need to by su-ing to root, so I'm not stuck, but I'd sure like sudo working again. Perhaps one of those scripts that is overwritten has something to do with it?
Thanks guys.
Got my 1177 packages upgrade more or less working. So far only one thing seems broken: it seems that when I sudo, I'm not getting access to my root path like I used to. My sudoers file is unchanged:
#
Code: Select all
# This file MUST be edited with the 'visudo' command as root.
#
Defaults env_reset, timestamp_timeout=100
root ALL=(ALL:ALL) ALL
ray ALL=(ALL:ALL) ALL
# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL
"sudo echo $PATH"
I see my normal users path, not root's path as I think I should. Because almost the whole system was upgraded, it's hard to know where to start looking. I use zsh, but had the same problem with bash.
I can do anything I need to by su-ing to root, so I'm not stuck, but I'd sure like sudo working again. Perhaps one of those scripts that is overwritten has something to do with it?
Thanks guys.