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. > e.g. > > $> ls -la /usr/sbin/vpnc > -rwxr-xr-x 1 root root 113508 Nov 9 2010 /usr/sbin/vpnc > > $> sudo vpnc > sudo: vpnc: command not found Does specifying the fully qualified path, like 'sudo /usr/sbin/vpnc', work? Bdale
pgpe3wYb3RCi2.pgp
Description: PGP signature