sudo GPO fails to apply with sudoedit should not be specified with a path
说明
While applying a sudo GPO policy, the policy fails to apply. The logs indicate the following error: sudoedit should not be specified with a path
原因
Starting with sudo 1.9.x you cannot specify a path to sudoedit in /etc/sudoers this was part of a fix/commit that was done to the sudo project. the Authentication Services software is working as expected.
解决办法
1- Check the integrity of /etc/sudoers with "visudo -c." If it shows errors, please correct them, and the GPO will be applied successfully. 2- On AIX, if you have sudo packages 1.9.x this error will be shown. And visudo will return a non-zero value
3- On Linux, normally the shipped package is 1.8.x so this error will not be seen.