From: Christian Goeschel Ndjomouo Date: Sat, 4 Apr 2026 12:05:12 +0000 (-0400) Subject: su: fix grammar on man page X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9360457a70d23f0f27cf680bdd0d3f2ebd23c756;p=thirdparty%2Futil-linux.git su: fix grammar on man page Signed-off-by: Christian Goeschel Ndjomouo --- diff --git a/login-utils/su.1.adoc b/login-utils/su.1.adoc index 0c5845cae..a47ea811a 100644 --- a/login-utils/su.1.adoc +++ b/login-utils/su.1.adoc @@ -56,10 +56,10 @@ PAM) from this point of view. You need to use tools like *systemd-run*(1) or + *su* does: + -* clears all the environment variables except *TERM*, *COLORTERM*, *NO_COLOR* and variables specified by *--whitelist-environment* -* initializes the environment variables *HOME*, *SHELL*, *USER*, *LOGNAME*, and *PATH* -* changes to the target user's home directory -* sets argv[0] of the shell to '*-*' in order to make the shell a login shell +* clear all the environment variables except *TERM*, *COLORTERM*, *NO_COLOR* and variables specified by *--whitelist-environment* +* initialize the environment variables *HOME*, *SHELL*, *USER*, *LOGNAME*, and *PATH* +* change to the target user's home directory +* set argv[0] of the shell to '*-*' in order to make the shell a login shell *-m*, *-p*, *--preserve-environment*:: Preserve the entire environment, i.e., do not set *HOME*, *SHELL*, *USER* or *LOGNAME*. This option is ignored if the option *--login* is specified.