]> granicus.if.org Git - sudo/commitdiff
Document that sudoers will re-use existing I/O log paths unless
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 25 Apr 2013 19:11:06 +0000 (15:11 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 25 Apr 2013 19:11:06 +0000 (15:11 -0400)
they are mktemp-style with trailing X's.

doc/sudoers.cat
doc/sudoers.man.in
doc/sudoers.mdoc.in

index 2dd5eedf16b432d63f164aad1bc7600899f27f1f..270e0c97ed0e3d377749951e1ebbd1f64c4f0c18 100644 (file)
@@ -1337,6 +1337,11 @@ S\bSU\bUD\bDO\bOE\bER\bRS\bS O\bOP\bPT\bTI\bIO\bON\bNS\bS
                        unique combination of digits and letters, similar to
                        the mktemp(3) function.
 
+                       If the path created by concatenating _\bi_\bo_\bl_\bo_\bg_\b__\bd_\bi_\br and
+                       _\bi_\bo_\bl_\bo_\bg_\b__\bf_\bi_\bl_\be already exists, the existing I/O log file
+                       will be truncated and overwritten unless _\bi_\bo_\bl_\bo_\bg_\b__\bf_\bi_\bl_\be
+                       ends in six or more Xs.
+
      limitprivs        The default Solaris limit privileges to use when
                        constructing a new privilege set for a command.  This
                        bounds all privileges of the executing process.  The
@@ -1358,6 +1363,11 @@ S\bSU\bUD\bDO\bOE\bER\bRS\bS O\bOP\bPT\bTI\bIO\bON\bNS\bS
                        truncated to 2176782336.  The default value is
                        2176782336.
 
+                       Once the local sequence number reaches the value of
+                       _\bm_\ba_\bx_\bs_\be_\bq, it will ``roll over'' to zero, after which
+                       s\bsu\bud\bdo\boe\ber\brs\bs will truncate and re-use any existing I/O log
+                       pathnames.
+
                        This setting is only supported by version 1.8.7 or
                        higher.
 
index 7e5c4042d91f8cbc8288a0a89c971d16eae9c2c5..2c30be6778e8403794aaa2dab0fb62a9a125284e 100644 (file)
@@ -2782,6 +2782,17 @@ will have the
 replaced with a unique combination of digits and letters, similar to the
 mktemp(3)
 function.
+.sp
+If the path created by concatenating
+\fIiolog_dir\fR
+and
+\fIiolog_file\fR
+already exists, the existing I/O log file will be truncated and
+overwritten unless
+\fIiolog_file\fR
+ends in six or
+more
+\fRX\fRs.
 .PD
 .TP 18n
 limitprivs
@@ -2821,6 +2832,14 @@ base 36 sequence number
 will be silently truncated to 2176782336.
 The default value is 2176782336.
 .sp
+Once the local sequence number reaches the value of
+\fImaxseq\fR,
+it will
+``roll over''
+to zero, after which
+\fBsudoers\fR
+will truncate and re-use any existing I/O log pathnames.
+.sp
 This setting is only supported by version 1.8.7 or higher.
 .TP 18n
 noexec_file
index 9539afbeb2bf07a51b3fb64b1f9b97b6807ab559..c02623552585fc0de37bc008b24862c31d52e364 100644 (file)
@@ -2598,6 +2598,17 @@ will have the
 replaced with a unique combination of digits and letters, similar to the
 .Xr mktemp 3
 function.
+.Pp
+If the path created by concatenating
+.Em iolog_dir
+and
+.Em iolog_file
+already exists, the existing I/O log file will be truncated and
+overwritten unless
+.Em iolog_file
+ends in six or
+more
+.Li X Ns No s .
 .It limitprivs
 The default Solaris limit privileges to use when constructing a new
 privilege set for a command.
@@ -2633,6 +2644,14 @@ base 36 sequence number
 will be silently truncated to 2176782336.
 The default value is 2176782336.
 .Pp
+Once the local sequence number reaches the value of
+.Em maxseq ,
+it will
+.Dq roll over
+to zero, after which
+.Nm sudoers
+will truncate and re-use any existing I/O log pathnames.
+.Pp
 This setting is only supported by version 1.8.7 or higher.
 .It noexec_file
 As of