]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
Make the manpage of su clearer
authorManatsu Takahashi <takahashi.manatsu@gmail.com>
Sun, 8 Dec 2019 13:20:53 +0000 (22:20 +0900)
committerManatsu Takahashi <takahashi.manatsu@gmail.com>
Sun, 8 Dec 2019 13:20:53 +0000 (22:20 +0900)
login-utils/su.1

index 6ab3e4a77e4ba2bfbb069d046661bb0eebf1bc43..3a732799a70cefa5c3b5cd43907714688123abf4 100644 (file)
@@ -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