From: Gaël PORTAY Date: Tue, 18 Mar 2025 08:58:32 +0000 (+0100) Subject: su: (man) fix duplicate asterisk X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1b317ef942bf007d2c765a390d2087a79a6de766;p=thirdparty%2Futil-linux.git su: (man) fix duplicate asterisk Signed-off-by: Gaël PORTAY Signed-off-by: Karel Zak --- diff --git a/login-utils/runuser.1.adoc b/login-utils/runuser.1.adoc index b041572e1..df9e122a9 100644 --- a/login-utils/runuser.1.adoc +++ b/login-utils/runuser.1.adoc @@ -73,7 +73,7 @@ If the target user has a restricted shell (i.e., not listed in _/etc/shells_), t **--session-command=**__command__:: Same as *-c*, but do not create a new session. (Discouraged.) -*-T*, *--no-pty**:: +*-T*, *--no-pty*:: Do not create a pseudo-terminal, opposite of *--pty* and *-P*. Note that running without a pseudo-terminal opens the security risk of privilege escalation through TIOCSTI/TIOCLINUX ioctl command injection. diff --git a/login-utils/su.1.adoc b/login-utils/su.1.adoc index 866139755..596fceb66 100644 --- a/login-utils/su.1.adoc +++ b/login-utils/su.1.adoc @@ -81,7 +81,7 @@ The shell to run is selected according to the following rules, in order: **--session-command=**__command__:: Same as *-c*, but do not create a new session. (Discouraged.) -*-T*, *--no-pty**:: +*-T*, *--no-pty*:: Do not create a pseudo-terminal, opposite of *--pty* and *-P*. Note that running without a pseudo-terminal opens the security risk of privilege escalation through TIOCSTI/TIOCLINUX ioctl command injection.