From: Manatsu Takahashi Date: Sun, 8 Dec 2019 13:20:53 +0000 (+0900) Subject: Make the manpage of su clearer X-Git-Tag: v2.35-rc1~20^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ffc4f7dcb1f78325d0b848fba8bebc0f31e46f4;p=thirdparty%2Futil-linux.git Make the manpage of su clearer --- 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