Replace '/' with '_' in paths using the user, group or host name.

This commit is contained in:
Todd C. Miller
2023-09-20 09:00:27 -06:00
parent 7363ad7b32
commit d9da92951a
5 changed files with 107 additions and 19 deletions

View File

@@ -2483,6 +2483,11 @@ will cause
\fBsudo\fR
to include the file
\fI/etc/sudoers.xerxes\fR.
Any path name separator characters
(\(oq/\(cq)
present in the host name will be replaced with an underbar
(\(oq_\(cq)
during expansion.
.PP
The
\fI@includedir\fR
@@ -4654,6 +4659,12 @@ To include a literal
character, the string
\(oq%%\(cq
should be used.
.sp
Any path name separator characters
(\(oq/\(cq)
present in the user, group or host name will be replaced with an underbar
(\(oq_\(cq)
during expansion.
.RE
.TP 18n
iolog_file

View File

@@ -2353,6 +2353,11 @@ will cause
.Nm sudo
to include the file
.Pa /etc/sudoers.xerxes .
Any path name separator characters
.Pq Ql /
present in the host name will be replaced with an underbar
.Pq Ql _
during expansion.
.Pp
The
.Em @includedir
@@ -4400,6 +4405,12 @@ To include a literal
character, the string
.Ql %%
should be used.
.Pp
Any path name separator characters
.Pq Ql /
present in the user, group or host name will be replaced with an underbar
.Pq Ql _
during expansion.
.It iolog_file
The path name, relative to
.Em iolog_dir ,