mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-30 05:48:18 +00:00
Shell-style substitution is not supported in env_file.
Also document that comments are supported.
This commit is contained in:
parent
116115229a
commit
8b53757164
@ -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@" "July 14, 2024" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
|
.TH "SUDOERS" "@mansectform@" "November 11, 2024" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
|
||||||
.nh
|
.nh
|
||||||
.if n .ad l
|
.if n .ad l
|
||||||
.SH "NAME"
|
.SH "NAME"
|
||||||
@ -5570,11 +5570,16 @@ The
|
|||||||
\fIrestricted_env_file\fR
|
\fIrestricted_env_file\fR
|
||||||
option specifies the fully qualified path to a file containing variables
|
option specifies the fully qualified path to a file containing variables
|
||||||
to be set in the environment of the program being run.
|
to be set in the environment of the program being run.
|
||||||
Entries in this file should either be of the form
|
Entries in this file should be assignments in the form
|
||||||
\(oqVARIABLE=value\(cq
|
\(oqVARIABLE=value\(cq
|
||||||
or
|
or
|
||||||
\(oqexport VARIABLE=value\(cq.
|
\(oqexport VARIABLE=value\(cq,
|
||||||
|
separated by newline characters.
|
||||||
The value may optionally be enclosed in single or double quotes.
|
The value may optionally be enclosed in single or double quotes.
|
||||||
|
Shell-style variable substitution is not supported.
|
||||||
|
Empty lines and comments starting with a pound sign
|
||||||
|
(\(oq#\(cq)
|
||||||
|
are ignored.
|
||||||
Variables in this file are only added if the variable does not already
|
Variables in this file are only added if the variable does not already
|
||||||
exist in the environment.
|
exist in the environment.
|
||||||
Unlike
|
Unlike
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
.nr BA @BAMAN@
|
.nr BA @BAMAN@
|
||||||
.nr LC @LCMAN@
|
.nr LC @LCMAN@
|
||||||
.nr PS @PSMAN@
|
.nr PS @PSMAN@
|
||||||
.Dd July 14, 2024
|
.Dd November 11, 2024
|
||||||
.Dt SUDOERS @mansectform@
|
.Dt SUDOERS @mansectform@
|
||||||
.Os Sudo @PACKAGE_VERSION@
|
.Os Sudo @PACKAGE_VERSION@
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -5220,11 +5220,16 @@ The
|
|||||||
.Em restricted_env_file
|
.Em restricted_env_file
|
||||||
option specifies the fully qualified path to a file containing variables
|
option specifies the fully qualified path to a file containing variables
|
||||||
to be set in the environment of the program being run.
|
to be set in the environment of the program being run.
|
||||||
Entries in this file should either be of the form
|
Entries in this file should be assignments in the form
|
||||||
.Ql VARIABLE=value
|
.Ql VARIABLE=value
|
||||||
or
|
or
|
||||||
.Ql export VARIABLE=value .
|
.Ql export VARIABLE=value ,
|
||||||
|
separated by newline characters.
|
||||||
The value may optionally be enclosed in single or double quotes.
|
The value may optionally be enclosed in single or double quotes.
|
||||||
|
Shell-style variable substitution is not supported.
|
||||||
|
Empty lines and comments starting with a pound sign
|
||||||
|
.Pq Ql #
|
||||||
|
are ignored.
|
||||||
Variables in this file are only added if the variable does not already
|
Variables in this file are only added if the variable does not already
|
||||||
exist in the environment.
|
exist in the environment.
|
||||||
Unlike
|
Unlike
|
||||||
|
Loading…
x
Reference in New Issue
Block a user