From 51c81238687b6bbfa35bd1f0fee485c8cafabf81 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Tue, 29 Mar 2011 17:57:46 -0400 Subject: [PATCH] Document parser changes. --- doc/UPGRADE | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/doc/UPGRADE b/doc/UPGRADE index 685eaf6a7..0b015c2c0 100644 --- a/doc/UPGRADE +++ b/doc/UPGRADE @@ -3,6 +3,33 @@ Notes on upgrading from an older release o Upgrading from a version prior to 1.8.1: + Changes in the sudoers parser could result in parse errors for + existing sudoers file. These changes cause certain erroneous + entries to be flagged as errors where before they allowed. + Changes include: + + Combining multiple Defaults entries with a backslash. E.g. + + Defaults set_path \ + Defaults syslog + + which should be: + + Defaults set_path + Defaults syslog + + Also, double-quoted strings with a missing end-quote are now + detected and result in an error. Previously, text starting a + double quote and ending with a newline was ignored. E.g. + + Defaults set_path"foo + + In previous versions of sudo, the `"foo' portion would have + been ignored. + + To avoid problems, sudo 1.8.1's "make install" will not install + a new sudo binary if the existing sudoers file has errors. + In Sudo 1.8.1 the "noexec" functionality has moved out of the sudoers policy plugin and into the sudo front-end. As a result, the path to the noexec file is now specified in the sudo.conf -- 2.40.0