[sudo-workers] Problems in sudoers.5

Todd C. Miller Todd.Miller at sudo.ws
Wed Jun 13 07:49:38 MDT 2018


On Tue, 12 Jun 2018 15:16:13 -0400, esr at thyrsus.com wrote:

> Problems with sudoers.5:
>
> Unknown or invalid macro.  That is, one that does not fit in the
> macro set that the man page seems to be using.  This is a serious
> error; it often means part of your text is being lost or rendered
> incorrectly.

It seems that doclifter doesn't recognize the .Bf / .Ef font mode
blocks that mdoc supports.  These are well-documented in mdoc-samples(7).

 - todd

> --- sudoers.5-unpatched	2018-05-31 10:37:54.803332884 -0400
> +++ sudoers.5	2018-05-31 10:39:57.906496267 -0400
> @@ -1472,9 +1472,7 @@
>  .Ql ]\& .
>  .El
>  .Pp
> -.Bf -symbolic
>  Note that these are not regular expressions.
> -.Ef
>  Unlike a regular expression there is no way to match one or more
>  characters within a range.
>  .Pp
> @@ -1517,10 +1515,7 @@
>  get matched by wildcards since command line arguments may contain
>  arbitrary strings and not just path names.
>  .Pp
> -.Bf -symbolic
>  Wildcards in command line arguments should be used with care.
> -.Ef
> -.br
>  Command line arguments are matched as a single, concatenated string.
>  This mean a wildcard character such as
>  .Ql \&?
>


More information about the sudo-workers mailing list