Signed-off-by: Ondrej Oprala <ooprala@xxxxxxxxxx> --- login-utils/runuser.1 | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/login-utils/runuser.1 b/login-utils/runuser.1 index 7201ff0..34cc84d 100644 --- a/login-utils/runuser.1 +++ b/login-utils/runuser.1 @@ -15,22 +15,22 @@ runuser \- run a command with substitute user and group ID .SH DESCRIPTION .B runuser allows to run commands with substitute user and group ID. -If the option \fB\-u\fR not given, fallback to +If the option \fB\-u\fR is not given, falls back to .B su -compatible semantic and shell is executed. +compatible semantics and a shell is executed. The difference between the commands .B runuser and .B su is that .B runuser -does not ask for password (because it may be executed by root user only) and +does not ask for a password (because it may be executed by the root user only) and it uses a different PAM configuration. The command .B runuser does not have to be installed with suid permissions. .PP -When called without arguments +When called without arguments, .B runuser defaults to running an interactive shell as .IR root . @@ -63,28 +63,28 @@ option. .TP \fB\-\-session\-command\fR=\fIcommand\fR Same as -.B \-c +.B \-c , but do not create a new session (discouraged). .TP \fB\-f\fR, \fB\-\-fast\fR Pass .B \-f -to the shell which may or may not be useful depending on the +to the shell, which may or may not be useful depending on the shell. .TP \fB\-g\fR, \fB\-\-group\fR=\fIgroup\fR\fR -specify the primary group, this option is allowed for root user only +specify the primary group, this option is allowed to the root user only .TP \fB\-G\fR, \fB\-\-supp-group\fR=\fIgroup\fR\fR -specify a supplemental group, this option is allowed for root user only +specify a supplemental group, this option is allowed to the root user only .TP \fB\-\fR, \fB\-l\fR, \fB\-\-login\fR -Starts the shell as login shell with an environment similar to a real +Starts the shell as a login shell with an environment similar to a real login: .RS 10 .TP o -clears all environment variables except for +clears all the environment variables except for .B TERM .TP o @@ -105,7 +105,7 @@ in order to make the shell a login shell .RE .TP \fB\-m\fR, \fB\-p\fR, \fB\-\-preserve-environment\fR -Preserves the whole environment, ie does not set +Preserves the entire environment, i.e. does not set .BR HOME , .BR SHELL , .B USER @@ -205,7 +205,7 @@ Generic error before executing the requested command The requested command could not be executed .TP 127 -The requested command could was not found +The requested command was not found .RE .SH FILES .PD 0 @@ -228,8 +228,8 @@ global logindef config file .BR login.defs (5), .BR su (1) .SH AUTHOR -Derived from coreutils' su which was based on an implemenation from -David MacKenzie and Fedora runuser command from Dan Walsh. +Derived from coreutils' su which was based on an implemenation by +David MacKenzie and the Fedora runuser command by Dan Walsh. .SH AVAILABILITY The runuser command is part of the util-linux package and is available from -- 1.8.5.1 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html