On Thu, Aug 25, 2011 at 23:01:26 -0600, Bdale Garbee wrote: > On Thu, 25 Aug 2011 23:39:22 -0500, Junqian Gordon Xu <xjq...@gmail.com> > wrote: > > setting in /etc/sudoers > > > > # User privilege specification > > root ALL=(ALL) ALL > > sudoer ALL=(ALL) ALL > > Does /etc/sudoers have a line like: > > Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/ > sbin:/bin" > > If not, then the problem is likely that /usr/sbin is not in the secure path. > I think at the very least the requirement to add that line to sudoers should be in NEWS.Debian (choosing to keep local changes is usually a pretty safe answer to the conffile prompt). Or better, secure_path should have a sane default when it's not overridden in sudoers...
Cheers, Julien -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org