From: Todd C. Miller Date: Tue, 10 Feb 2015 16:37:10 +0000 (-0700) Subject: Document that a leading ':' is skipped when checking TZ for a X-Git-Tag: SUDO_1_8_13^2~61 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=00f663d54d357fae09b6579d5fd916a192de17d2;p=sudo Document that a leading ':' is skipped when checking TZ for a fully-qualified path name. --- diff --git a/doc/sudoers.cat b/doc/sudoers.cat index 745e26b88..0351a7e1e 100644 --- a/doc/sudoers.cat +++ b/doc/sudoers.cat @@ -1670,9 +1670,9 @@ SSUUDDOOEERRSS OOPPTTIIOONNSS programs. The TZ variable is considered unsafe if any of the following are true: - ++oo It consists of a fully-qualified path name that - does not match the location of the _z_o_n_e_i_n_f_o - directory. + ++oo It consists of a fully-qualified path name + (optionally prefixed with a colon `:') that does + not match the location of the _z_o_n_e_i_n_f_o directory. ++oo It contains a _._. path element. diff --git a/doc/sudoers.man.in b/doc/sudoers.man.in index 339883ace..b7c358a9a 100644 --- a/doc/sudoers.man.in +++ b/doc/sudoers.man.in @@ -3435,8 +3435,10 @@ variable is considered unsafe if any of the following are true: .PD 0 .TP 4n \fB\(bu\fR -It consists of a fully-qualified path name that does not match -the location of the +It consists of a fully-qualified path name +(optionally prefixed with a colon +\(oq:\&\(cq) +that does not match the location of the \fIzoneinfo\fR directory. .PD diff --git a/doc/sudoers.mdoc.in b/doc/sudoers.mdoc.in index f9fda4ec1..ecea0b988 100644 --- a/doc/sudoers.mdoc.in +++ b/doc/sudoers.mdoc.in @@ -3188,8 +3188,10 @@ The variable is considered unsafe if any of the following are true: .Bl -bullet .It -It consists of a fully-qualified path name that does not match -the location of the +It consists of a fully-qualified path name +(optionally prefixed with a colon +.Ql :\& ) +that does not match the location of the .Pa zoneinfo directory. .It