From 1ffc4f7dcb1f78325d0b848fba8bebc0f31e46f4 Mon Sep 17 00:00:00 2001 From: Manatsu Takahashi Date: Sun, 8 Dec 2019 22:20:53 +0900 Subject: [PATCH] Make the manpage of su clearer --- login-utils/su.1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/login-utils/su.1 b/login-utils/su.1 index 6ab3e4a77e..3a732799a7 100644 --- a/login-utils/su.1 +++ b/login-utils/su.1 @@ -8,10 +8,17 @@ su \- run a command with substitute user and group ID .B su allows to run commands with a substitute user and group ID. .PP -When called without arguments, +When called with no +.IR user +specified, .B su defaults to running an interactive shell as .IR root . +When +.IR user +is specified, an additional +.IR argument +can be supplied, in which case it is passed to the shell. .PP For backward compatibility, .B su -- 2.39.5