]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
Fix markup in su.1.adoc
authorMario Blättermann <mario.blaettermann@gmail.com>
Mon, 14 Feb 2022 17:23:10 +0000 (18:23 +0100)
committerGitHub <noreply@github.com>
Mon, 14 Feb 2022 17:23:10 +0000 (18:23 +0100)
Small, but important mistake in asciidoc formatting, would lead to a scrambled paragraph.

login-utils/su.1.adoc

index 3746b257bcefc94de495833c0554fda9564ac07c..36a892fab5c137f99cc3a6d3d4fa418d8da1f308 100644 (file)
@@ -57,7 +57,7 @@ Start the shell as a login shell with an environment similar to a real login:
 Preserve the entire environment, i.e., do not set *HOME*, *SHELL*, *USER* or *LOGNAME*. This option is ignored if the option *--login* is specified.
 
 *-P*, *--pty*::
-Create a pseudo-terminal for the session. The independent terminal provides better security as the user does not share a terminal with the original session. This can be used to avoid *TIOCSTI* ioctl terminal injection and other security attacks against terminal file descriptors. The entire session can also be moved to the background (e.g., *su --pty **-** __username__ *-c* _application_ *&*). If the pseudo-terminal is enabled, then *su* works as a proxy between the sessions (sync stdin and stdout).
+Create a pseudo-terminal for the session. The independent terminal provides better security as the user does not share a terminal with the original session. This can be used to avoid *TIOCSTI* ioctl terminal injection and other security attacks against terminal file descriptors. The entire session can also be moved to the background (e.g., *su --pty* **-** __username__ *-c* _application_ *&*). If the pseudo-terminal is enabled, then *su* works as a proxy between the sessions (sync stdin and stdout).
 +
 This feature is mostly designed for interactive sessions. If the standard input is not a terminal, but for example a pipe (e.g., *echo "date" | su --pty*), then the *ECHO* flag for the pseudo-terminal is disabled to avoid messy output.