From 1b317ef942bf007d2c765a390d2087a79a6de766 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ga=C3=ABl=20PORTAY?= Date: Tue, 18 Mar 2025 09:58:32 +0100 Subject: [PATCH] su: (man) fix duplicate asterisk MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Gaël PORTAY Signed-off-by: Karel Zak --- login-utils/runuser.1.adoc | 2 +- login-utils/su.1.adoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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. -- 2.47.3