diff options
Diffstat (limited to 'login-utils/su.1')
-rw-r--r-- | login-utils/su.1 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/login-utils/su.1 b/login-utils/su.1 index 84ca104ef..709c5e655 100644 --- a/login-utils/su.1 +++ b/login-utils/su.1 @@ -79,6 +79,7 @@ login: o clears all the environment variables except .B TERM +and variables specified by \fB\-\-whitelist\-environment\fR .TP o initializes the environment variables @@ -153,6 +154,15 @@ Same as .B \-c but do not create a new session. (Discouraged.) .TP +.BR \-w , " \-\-whitelist\-environment" = \fIlist +Don't reset environment variables specified in comma separated \fIlist\fR when clears +environment for \fB\-\-login\fR. The whitelist is ignored for the environment variables +.BR HOME , +.BR SHELL , +.BR USER , +.BR LOGNAME ", and" +.BR PATH "." +.TP .BR \-V , " \-\-version" Display version information and exit. .TP |