@@ -3017,6 +3017,18 @@ will insult users when they enter an incorrect password.
30173017This flag is
30183018.Em @insults@
30193019by default.
3020+ .It iolog_flush
3021+ If set,
3022+ .Nm sudo
3023+ will flush I/O log data to disk after each write instead of buffering it.
3024+ This makes it possible to view the logs in real-time as the program
3025+ is executing but may significantly reduce the effectiveness of I/O
3026+ log compression.
3027+ This flag is
3028+ .Em off
3029+ by default.
3030+ .Pp
3031+ This setting is only supported by version 1.8.20 or higher.
30203032.It log_allowed
30213033If set,
30223034.Nm
@@ -4232,28 +4244,6 @@ Number of characters per line for the file log.
42324244This value is used to decide when to wrap lines for nicer log files.
42334245This has no effect on the syslog log file, only the file log.
42344246The default is @loglen@ (use 0 or negate the option to disable word wrap).
4235- .It passwd_timeout
4236- Number of minutes before the
4237- .Nm sudo
4238- password prompt times out, or 0 for no timeout.
4239- The timeout may include a fractional component
4240- if minute granularity is insufficient, for example 2.5.
4241- The default is @password_timeout@.
4242- .It timestamp_timeout
4243- Number of minutes that can elapse before
4244- .Nm sudo
4245- will ask for a password again.
4246- The timeout may include a fractional component if
4247- minute granularity is insufficient, for example 2.5.
4248- The default is @timeout@.
4249- Set this to 0 to always prompt for a password.
4250- If set to a value less than 0 the user's time stamp will not expire
4251- until the system is rebooted.
4252- This can be used to allow users to create or delete their own time stamps via
4253- .Ql sudo \- v
4254- and
4255- .Ql sudo \- k
4256- respectively.
42574247.It umask
42584248File mode creation mask to use when running the command.
42594249Negate this option or set it to 0777 to prevent
@@ -4282,6 +4272,44 @@ the umask specified by PAM or login.conf will take precedence.
42824272The umask setting in PAM is not used for
42834273.Nm sudoedit ,
42844274which does not create a new PAM session.
4275+ .It iolog_mode
4276+ The file mode to use when creating I/O log files.
4277+ Mode bits for read and write permissions for owner, group, or other
4278+ are honored, everything else is ignored.
4279+ The file permissions will always include the owner read and
4280+ write bits, even if they are not present in the specified mode.
4281+ When creating I/O log directories, search (execute) bits are added
4282+ to match the read and write bits specified by
4283+ .Em iolog_mode .
4284+ Defaults to 0600 (read and write by user only).
4285+ .Pp
4286+ This setting is only supported by version 1.8.19 or higher.
4287+ .El
4288+ .Pp
4289+ .Sy Decimals that can be used in a boolean context :
4290+ .Bl -tag -width 16n
4291+ .It passwd_timeout
4292+ Number of minutes before the
4293+ .Nm sudo
4294+ password prompt times out, or 0 for no timeout.
4295+ The timeout may include a fractional component
4296+ if minute granularity is insufficient, for example 2.5.
4297+ The default is @password_timeout@.
4298+ .It timestamp_timeout
4299+ Number of minutes that can elapse before
4300+ .Nm sudo
4301+ will ask for a password again.
4302+ The timeout may include a fractional component if
4303+ minute granularity is insufficient, for example 2.5.
4304+ The default is @timeout@.
4305+ Set this to 0 to always prompt for a password.
4306+ If set to a value less than 0 the user's time stamp will not expire
4307+ until the system is rebooted.
4308+ This can be used to allow users to create or delete their own time stamps via
4309+ .Ql sudo \- v
4310+ and
4311+ .Ql sudo \- k
4312+ respectively.
42854313.El
42864314.Pp
42874315.Sy Strings :
@@ -4515,18 +4543,6 @@ overwritten unless
45154543ends in six or
45164544more
45174545.Em X Ns s .
4518- .It iolog_flush
4519- If set,
4520- .Nm sudo
4521- will flush I/O log data to disk after each write instead of buffering it.
4522- This makes it possible to view the logs in real-time as the program
4523- is executing but may significantly reduce the effectiveness of I/O
4524- log compression.
4525- This flag is
4526- .Em off
4527- by default.
4528- .Pp
4529- This setting is only supported by version 1.8.20 or higher.
45304546.It iolog_group
45314547The group name to look up when setting the group-ID on new I/O log
45324548files and directories.
@@ -4543,18 +4559,6 @@ nor
45434559are set, I/O log files and directories are created with group-ID 0.
45444560.Pp
45454561This setting is only supported by version 1.8.19 or higher.
4546- .It iolog_mode
4547- The file mode to use when creating I/O log files.
4548- Mode bits for read and write permissions for owner, group, or other
4549- are honored, everything else is ignored.
4550- The file permissions will always include the owner read and
4551- write bits, even if they are not present in the specified mode.
4552- When creating I/O log directories, search (execute) bits are added
4553- to match the read and write bits specified by
4554- .Em iolog_mode .
4555- Defaults to 0600 (read and write by user only).
4556- .Pp
4557- This setting is only supported by version 1.8.19 or higher.
45584562.It iolog_user
45594563The user name to look up when setting the user and group-IDs on new
45604564I/O log files and directories.
0 commit comments