summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Oprala <ooprala@redhat.com>2014-04-08 09:48:41 +0200
committerKarel Zak <kzak@redhat.com>2014-04-23 11:55:09 +0200
commit2ec0cd2f152319c438fce1082521db90d44dfa2e (patch)
tree4824effa1ed2705d9863c8ba3c2f0411519406c1
parent67ed3e4001c3981567dbe83fa90d1cf221497f59 (diff)
downloadutil-linux-2ec0cd2f152319c438fce1082521db90d44dfa2e.tar.gz
runuser: fix minor typos in the man page
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
-rw-r--r--login-utils/runuser.128
1 files changed, 14 insertions, 14 deletions
diff --git a/login-utils/runuser.1 b/login-utils/runuser.1
index 7201ff0f2..34cc84d82 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