From 7f2633807194e46d713d474719203928f0d6c139 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Fri, 24 Mar 2017 15:36:03 -0600 Subject: [PATCH] Mention that iolog_user is useful for NFS. --- doc/sudoers.cat | 6 ++++++ doc/sudoers.man.in | 7 +++++++ doc/sudoers.mdoc.in | 7 +++++++ 3 files changed, 20 insertions(+) diff --git a/doc/sudoers.cat b/doc/sudoers.cat index ea10b7d20..b2101c882 100644 --- a/doc/sudoers.cat +++ b/doc/sudoers.cat @@ -1659,6 +1659,12 @@ SSUUDDOOEERRSS OOPPTTIIOONNSS user's primary group ID. By default, I/O log files and directories are created with user and group ID 0. + This setting can be useful when the I/O logs are stored + on a Network File System (NFS) share. Having a + dedicated user own the I/O log files means that ssuuddooeerrss + does not write to the log files as user ID 0, which is + usually not permitted by NFS. + This setting is only supported by version 1.8.19 or higher. diff --git a/doc/sudoers.man.in b/doc/sudoers.man.in index ec1d3b381..db3b473a4 100644 --- a/doc/sudoers.man.in +++ b/doc/sudoers.man.in @@ -3379,6 +3379,13 @@ is set, it will be used instead of the user's primary group ID. By default, I/O log files and directories are created with user and group ID 0. .sp +This setting can be useful when the I/O logs are stored on a Network +File System (NFS) share. +Having a dedicated user own the I/O log files means that +\fBsudoers\fR +does not write to the log files as user ID 0, which is usually +not permitted by NFS. +.sp This setting is only supported by version 1.8.19 or higher. .TP 18n lecture_status_dir diff --git a/doc/sudoers.mdoc.in b/doc/sudoers.mdoc.in index 5fe09c061..4b51c486e 100644 --- a/doc/sudoers.mdoc.in +++ b/doc/sudoers.mdoc.in @@ -3170,6 +3170,13 @@ is set, it will be used instead of the user's primary group ID. By default, I/O log files and directories are created with user and group ID 0. .Pp +This setting can be useful when the I/O logs are stored on a Network +File System (NFS) share. +Having a dedicated user own the I/O log files means that +.Nm +does not write to the log files as user ID 0, which is usually +not permitted by NFS. +.Pp This setting is only supported by version 1.8.19 or higher. .It lecture_status_dir The directory in which -- 2.40.0