[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ReInstall of System borked Admin Pwd for Apps



darkestkhan wrote:
> Stephen Allen wrote:
> > Unfortuantely the suggested fix didn't work.

Just recently a new sudo entered Wheezy Testing and it changed the
behavior of secure_path.  See Bug#639841 for details.  But it means
that you need to add this line too:

  Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

In addition to the other line:

  username ALL=(ALL:ALL) ALL

> It has to be noted that things worked well without merging changes in
> /etc/sudoers as long as programs were run by me - if program run by me
> with root privileges was running different program then I got errors
> that it can't find things in /sbin (and thus I knew that I have to
> look at changes in /etc/sudoers)

Your PATH problem in Wheezy/Sid is the same thing.  See Bug#639841.
Add the secure_path line above and it will work for you again.

Bob

Attachment: signature.asc
Description: Digital signature


Reply to: