2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-09-01 14:55:12 +00:00

White space in an include file path supported by sudo 1.9.1 or higher.

This commit is contained in:
Todd C. Miller
2021-10-26 08:09:33 -06:00
parent cc6157d7d4
commit 094f4dac58
2 changed files with 6 additions and 6 deletions

View File

@@ -25,7 +25,7 @@
.nr BA @BAMAN@ .nr BA @BAMAN@
.nr LC @LCMAN@ .nr LC @LCMAN@
.nr PS @PSMAN@ .nr PS @PSMAN@
.TH "SUDOERS" "@mansectform@" "September 29, 2021" "Sudo @PACKAGE_VERSION@" "File Formats Manual" .TH "SUDOERS" "@mansectform@" "October 26, 2021" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
.nh .nh
.if n .ad l .if n .ad l
.SH "NAME" .SH "NAME"
@@ -2072,8 +2072,8 @@ Files that are included may themselves include other files.
A hard limit of 128 nested include files is enforced to prevent include A hard limit of 128 nested include files is enforced to prevent include
file loops. file loops.
.PP .PP
The path to the include file may contain white space if it is Starting with version 1.9.1, the path to the include file may contain
escaped with a backslash white space if it is escaped with a backslash
(\(oq\e\(cq). (\(oq\e\(cq).
Alternately, the entire path may be enclosed in double quotes Alternately, the entire path may be enclosed in double quotes
(\&""), (\&""),

View File

@@ -24,7 +24,7 @@
.nr BA @BAMAN@ .nr BA @BAMAN@
.nr LC @LCMAN@ .nr LC @LCMAN@
.nr PS @PSMAN@ .nr PS @PSMAN@
.Dd September 29, 2021 .Dd October 26, 2021
.Dt SUDOERS @mansectform@ .Dt SUDOERS @mansectform@
.Os Sudo @PACKAGE_VERSION@ .Os Sudo @PACKAGE_VERSION@
.Sh NAME .Sh NAME
@@ -1951,8 +1951,8 @@ Files that are included may themselves include other files.
A hard limit of 128 nested include files is enforced to prevent include A hard limit of 128 nested include files is enforced to prevent include
file loops. file loops.
.Pp .Pp
The path to the include file may contain white space if it is Starting with version 1.9.1, the path to the include file may contain
escaped with a backslash white space if it is escaped with a backslash
.Pq Ql \e . .Pq Ql \e .
Alternately, the entire path may be enclosed in double quotes Alternately, the entire path may be enclosed in double quotes
.Pq \&"" , .Pq \&"" ,