[Pkg-shadow-devel] [PATCH] su(1): document PATH handling when --preserve-environment
Mike Frysinger
vapier at gentoo.org
Sun May 31 04:37:39 UTC 2009
Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
man/su.1.xml | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/man/su.1.xml b/man/su.1.xml
index ee63be9..340dcf9 100644
--- a/man/su.1.xml
+++ b/man/su.1.xml
@@ -203,7 +203,10 @@
<option>--preserve-environment</option>
</term>
<listitem>
- <para>Preserve the current environment.</para>
+ <para>
+ Preserve the current environment (except for <envar>$PATH</envar>
+ as that is still reset per the configuration).
+ </para>
<para>
If the target user has a restricted shell, this option has no
effect (unless <command>su</command> is called by root).
--
1.6.3
More information about the Pkg-shadow-devel
mailing list