When running vgptool apply, it's appears that group policy is trying to update the files in the sudoers.d directory. Modifying /etc/sudoers.d/, One of the specified sudoers entries is illegal (4256770)
When running vgptool apply, it's appears that group policy is trying to update the files in the sudoers.d directory. Modifying /etc/sudoers.d/, One of the specified sudoers entries is illegal
说明
When running vgptool apply, it's appears that group policy is trying to update the files in the sudoers.d directory.
For example the something similar to the following might be seen in vgptool apply output:
Modifying /etc/sudoers.d/sudofile file CSE: One of the specified sudoers entries is illegal in the sudoers grammar. Please determine which entry it is and remove it. Modifications to the sudoers file by Group Policy have been canceled and removed.
Authentication Services Group Policy does not have the ability to configure sudoers.d files in Group Policy Management settings however it does use visudo on the client side and visudo will check sudoers.d files for errors.
原因
Bad syntax in sudoers.d file.
The bad syntax also can be related to the definition of a rule that includes sudoedit as /usr/bin/sudoedit or /bin/sudoedit. Remember that sudoedit cannot be defined with a path in the sudoers file.
解决办法
If this message is seen, as per the message, check that there are no bad entries in the specified sudoers.d files. If the sudoedit has a path, remove it and retry the deployment of the policy