Skip to content

Commit d86bb99

Browse files
committed
docs: fix man
iolog_flush and iolog_mode are boolean and integer options, respectively.
1 parent 70c1ee4 commit d86bb99

2 files changed

Lines changed: 50 additions & 50 deletions

File tree

docs/sudoers.man.in

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -3195,6 +3195,19 @@ This flag is
31953195
\fI@insults@\fR
31963196
by default.
31973197
.TP 18n
3198+
iolog_flush
3199+
If set,
3200+
\fBsudo\fR
3201+
will flush I/O log data to disk after each write instead of buffering it.
3202+
This makes it possible to view the logs in real-time as the program
3203+
is executing but may significantly reduce the effectiveness of I/O
3204+
log compression.
3205+
This flag is
3206+
\fIoff\fR
3207+
by default.
3208+
.sp
3209+
This setting is only supported by version 1.8.20 or higher.
3210+
.TP 18n
31983211
log_allowed
31993212
If set,
32003213
\fBsudoers\fR
@@ -4534,6 +4547,19 @@ the umask specified by PAM or login.conf will take precedence.
45344547
The umask setting in PAM is not used for
45354548
\fBsudoedit\fR,
45364549
which does not create a new PAM session.
4550+
.TP 18n
4551+
iolog_mode
4552+
The file mode to use when creating I/O log files.
4553+
Mode bits for read and write permissions for owner, group, or other
4554+
are honored, everything else is ignored.
4555+
The file permissions will always include the owner read and
4556+
write bits, even if they are not present in the specified mode.
4557+
When creating I/O log directories, search (execute) bits are added
4558+
to match the read and write bits specified by
4559+
\fIiolog_mode\fR.
4560+
Defaults to 0600 (read and write by user only).
4561+
.sp
4562+
This setting is only supported by version 1.8.19 or higher.
45374563
.PP
45384564
\fBStrings\fR:
45394565
.if \n(AA \{\
@@ -4790,19 +4816,6 @@ ends in six or
47904816
more
47914817
\fIX\fRs.
47924818
.TP 18n
4793-
iolog_flush
4794-
If set,
4795-
\fBsudo\fR
4796-
will flush I/O log data to disk after each write instead of buffering it.
4797-
This makes it possible to view the logs in real-time as the program
4798-
is executing but may significantly reduce the effectiveness of I/O
4799-
log compression.
4800-
This flag is
4801-
\fIoff\fR
4802-
by default.
4803-
.sp
4804-
This setting is only supported by version 1.8.20 or higher.
4805-
.TP 18n
48064819
iolog_group
48074820
The group name to look up when setting the group-ID on new I/O log
48084821
files and directories.
@@ -4820,19 +4833,6 @@ are set, I/O log files and directories are created with group-ID 0.
48204833
.sp
48214834
This setting is only supported by version 1.8.19 or higher.
48224835
.TP 18n
4823-
iolog_mode
4824-
The file mode to use when creating I/O log files.
4825-
Mode bits for read and write permissions for owner, group, or other
4826-
are honored, everything else is ignored.
4827-
The file permissions will always include the owner read and
4828-
write bits, even if they are not present in the specified mode.
4829-
When creating I/O log directories, search (execute) bits are added
4830-
to match the read and write bits specified by
4831-
\fIiolog_mode\fR.
4832-
Defaults to 0600 (read and write by user only).
4833-
.sp
4834-
This setting is only supported by version 1.8.19 or higher.
4835-
.TP 18n
48364836
iolog_user
48374837
The user name to look up when setting the user and group-IDs on new
48384838
I/O log files and directories.

docs/sudoers.mdoc.in

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -3017,6 +3017,18 @@ will insult users when they enter an incorrect password.
30173017
This flag is
30183018
.Em @insults@
30193019
by 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
30213033
If set,
30223034
.Nm
@@ -4282,6 +4294,18 @@ the umask specified by PAM or login.conf will take precedence.
42824294
The umask setting in PAM is not used for
42834295
.Nm sudoedit ,
42844296
which does not create a new PAM session.
4297+
.It iolog_mode
4298+
The file mode to use when creating I/O log files.
4299+
Mode bits for read and write permissions for owner, group, or other
4300+
are honored, everything else is ignored.
4301+
The file permissions will always include the owner read and
4302+
write bits, even if they are not present in the specified mode.
4303+
When creating I/O log directories, search (execute) bits are added
4304+
to match the read and write bits specified by
4305+
.Em iolog_mode .
4306+
Defaults to 0600 (read and write by user only).
4307+
.Pp
4308+
This setting is only supported by version 1.8.19 or higher.
42854309
.El
42864310
.Pp
42874311
.Sy Strings :
@@ -4515,18 +4539,6 @@ overwritten unless
45154539
ends in six or
45164540
more
45174541
.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.
45304542
.It iolog_group
45314543
The group name to look up when setting the group-ID on new I/O log
45324544
files and directories.
@@ -4543,18 +4555,6 @@ nor
45434555
are set, I/O log files and directories are created with group-ID 0.
45444556
.Pp
45454557
This 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.
45584558
.It iolog_user
45594559
The user name to look up when setting the user and group-IDs on new
45604560
I/O log files and directories.

0 commit comments

Comments
 (0)