substitution and transparently enable _\bs_\bu_\bd_\bo_\be_\bd_\bi_\bt when the
user attempts to run an editor.
+ sudoedit_checkdir=bool
+ Set to false to disable directory writability checks in
+ s\bsu\bud\bdo\boe\bed\bdi\bit\bt. By default, s\bsu\bud\bdo\boe\bed\bdi\bit\bt 1.8.16 and higher will
+ check all directory components of the path to be edited
+ for writability by the invoking user. Symbolic links
+ will not be followed in writable directories and
+ s\bsu\bud\bdo\boe\bed\bdi\bit\bt will refuse to edit a file located in a
+ writable directory. These restrictions are not
+ enforced when s\bsu\bud\bdo\boe\bed\bdi\bit\bt is run by root. The
+ _\bs_\bu_\bd_\bo_\be_\bd_\bi_\bt_\b__\bf_\bo_\bl_\bl_\bo_\bw option can be set to false to disable
+ this check. Only available starting with API version
+ 1.8.
+
sudoedit_follow=bool
Set to true to allow s\bsu\bud\bdo\boe\bed\bdi\bit\bt to edit files that are
symbolic links. By default, s\bsu\bud\bdo\boe\bed\bdi\bit\bt 1.8.15 and higher
Debug lines in the sudo.conf(4) file.
Version 1.8 (sudo 1.8.15)
- The _\bs_\bu_\bd_\bo_\be_\bd_\bi_\bt_\b__\bf_\bo_\bl_\bl_\bo_\bw entry was added to the command_info list.
+ The _\bs_\bu_\bd_\bo_\be_\bd_\bi_\bt_\b__\bc_\bh_\be_\bc_\bk_\bd_\bi_\br and _\bs_\bu_\bd_\bo_\be_\bd_\bi_\bt_\b__\bf_\bo_\bl_\bl_\bo_\bw entries were added to the
+ command_info list. The default value of _\bs_\bu_\bd_\bo_\be_\bd_\bi_\bt_\b__\bc_\bh_\be_\bc_\bk_\bd_\bi_\br was
+ changed to true in sudo 1.8.16.
The sudo _\bc_\bo_\bn_\bv_\be_\br_\bs_\ba_\bt_\bi_\bo_\bn function now takes a pointer to a struct
sudo_conv_callback as its fourth argument. The sudo_conv_t
file distributed with s\bsu\bud\bdo\bo or https://www.sudo.ws/license.html for
complete details.
-Sudo 1.8.16 January 4, 2016 Sudo 1.8.16
+Sudo 1.8.16 January 20, 2016 Sudo 1.8.16
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.TH "SUDO_PLUGIN" "5" "January 4, 2016" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
+.TH "SUDO_PLUGIN" "5" "January 20, 2016" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
.nh
.if n .ad l
.SH "NAME"
\fIsudoedit\fR
when the user attempts to run an editor.
.TP 6n
+sudoedit_checkdir=bool
+Set to false to disable directory writability checks in
+\fBsudoedit\fR.
+By default,
+\fBsudoedit\fR
+1.8.16 and higher will check all directory components of the path to be
+edited for writability by the invoking user.
+Symbolic links will not be followed in writable directories and
+\fBsudoedit\fR
+will refuse to edit a file located in a writable directory.
+These restrictions are not enforced when
+\fBsudoedit\fR
+is run by root.
+The
+\fIsudoedit_follow\fR
+option can be set to false to disable this check.
+Only available starting with API version 1.8.
+.TP 6n
sudoedit_follow=bool
Set to true to allow
\fBsudoedit\fR
.TP 6n
Version 1.8 (sudo 1.8.15)
The
+\fIsudoedit_checkdir\fR
+and
\fIsudoedit_follow\fR
-entry was added to the
+entries were added to the
\fRcommand_info\fR
list.
+The default value of
+\fIsudoedit_checkdir\fR
+was changed to true in sudo 1.8.16.
.sp
The sudo
\fIconversation\fR
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd January 4, 2016
+.Dd January 20, 2016
.Dt SUDO_PLUGIN @mansectform@
.Os Sudo @PACKAGE_VERSION@
.Sh NAME
enable
.Em sudoedit
when the user attempts to run an editor.
+.It sudoedit_checkdir=bool
+Set to false to disable directory writability checks in
+.Nm sudoedit .
+By default,
+.Nm sudoedit
+1.8.16 and higher will check all directory components of the path to be
+edited for writability by the invoking user.
+Symbolic links will not be followed in writable directories and
+.Nm sudoedit
+will refuse to edit a file located in a writable directory.
+These restrictions are not enforced when
+.Nm sudoedit
+is run by root.
+The
+.Em sudoedit_follow
+option can be set to false to disable this check.
+Only available starting with API version 1.8.
.It sudoedit_follow=bool
Set to true to allow
.Nm sudoedit
.Xr sudo.conf @mansectform@ file.
.It Version 1.8 (sudo 1.8.15)
The
+.Em sudoedit_checkdir
+and
.Em sudoedit_follow
-entry was added to the
+entries were added to the
.Li command_info
list.
+The default value of
+.Em sudoedit_checkdir
+was changed to true in sudo 1.8.16.
.Pp
The sudo
.Em conversation