[sudo-users] Please help: sudo: unknown defaults entry `secure_path' referenced near line 2

Todd C. Miller Todd.Miller at courtesan.com
Mon Mar 18 07:20:24 MDT 2013


On Mon, 18 Mar 2013 10:41:20 +0800, Jian Zhu wrote:

> I get this error when running sudo
> [jzhu at hostname01~]$ sudo
> sudo: unknown defaults entry `secure_path' referenced near line 2
> sudo: parse error in /etc/sudoers near line 1
> 
> my sudo version is:
> Sudo version 1.6.9p17

The secure_path option is only supported by sudo 1.7.0 and higher.
Sudo 1.6.9p17 is no longer supported.  If you need to the secure_path
option you should update to a more recent version of sudo.

 - todd


More information about the sudo-users mailing list