From: Todd C. Miller Date: Tue, 19 Dec 2000 03:35:07 +0000 (+0000) Subject: Grammatical fixes from Paul Janzen X-Git-Tag: SUDO_1_6_4~221 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=211d8c7de0d514024d4e326983c66a1d0bfe39cf;p=sudo Grammatical fixes from Paul Janzen --- diff --git a/sudo.pod b/sudo.pod index b62bea87e..e8427662d 100644 --- a/sudo.pod +++ b/sudo.pod @@ -74,7 +74,7 @@ to run sudo with the B<-l> or B<-v> flags. This allows users to determine for themselves whether or not they are allowed to use B. -B can log both successful an unsuccessful attempts (as well +B can log both successful and unsuccessful attempts (as well as errors) to syslog(3), a log file, or both. By default B will log via syslog(3) but this is changeable at configure time or via the I file. @@ -147,7 +147,7 @@ with resources limited by the specified login class. The I argument can be either a class name as defined in /etc/login.conf, or a single '-' character. Specifying a I of C<-> indicates that the command should be run restricted by the default login -capibilities for the user the command is run as. If the I +capabilities for the user the command is run as. If the I argument specifies an existing user class, the command must be run as root, or the B command must be run from a shell that is already root. This option is only available on systems with BSD login classes @@ -237,7 +237,7 @@ B will check the ownership of its timestamp directory (F<@timedir@> by default) and ignore the directory's contents if it is not owned by root and only writable by root. On systems that allow non-root users to give away files via chown(2), if the timestamp -directory is located in a directory writable by anyone (eg: F), +directory is located in a directory writable by anyone (e.g.: F), it is possible for a user to create the timestamp directory before B is run. However, because B checks the ownership and mode of the directory and its contents, the only damage that can diff --git a/visudo.pod b/visudo.pod index 13fe9fa90..120d4b7e3 100644 --- a/visudo.pod +++ b/visudo.pod @@ -52,7 +52,7 @@ for parse errors. If the I file is currently being edited you will receive a message to try again later. There is a hard-coded list of editors that B will use set -at compile time that may be overridden via the I I +at compile-time that may be overridden via the I I C variable. This list defaults to the path to vi(1) on your system, as determined by the I script. Normally, B does not honor the C or C environment @@ -65,22 +65,21 @@ execute any program they wish simply by setting C or C. B parses the I file after the edit and will not save the changes if there is a syntax error. Upon finding -an error, a message will be printed stating the line number(s) +an error, B will print a message stating the line number(s) where the error occurred and the user will receive the "What now?" prompt. At this point the user may enter "e" -to re-edit the I file, enter "x" to exit without +to re-edit the I file, "x" to exit without saving the changes, or "Q" to quit and save changes. The "Q" option should be used with extreme care because if B believes there to be a parse error, so will B and no one -will be able to execute B again until the error is fixed. -Any other command at this prompt will print a short help message. -When editing the I file after a parse error has been -detected the cursor will be placed on the line where the error -occurred (if the editor supports this feature). +will be able to B again until the error is fixed. +If "e" is typed to edit the I file after a parse error +has been detected, the cursor will be placed on the line where the +error occurred (if the editor supports this feature). =head1 OPTIONS -B accepts the following command line option: +B accepts the following command line options: =over 4 @@ -94,7 +93,7 @@ letters, digits, and the underscore ('_') character. =item -V -The B<-V> (version) option causes B to print the version number +The B<-V> (version) option causes B to print its version number and exit. =back @@ -122,7 +121,7 @@ defining it or you have a user or hostname listed that consists solely of upper case letters, digits, and the underscore ('_') character. If the latter, you can ignore the warnings (B will not complain). In B<-s> (strict) -mode these are errors not warnings. +mode these are errors, not warnings. =back @@ -131,8 +130,8 @@ mode these are errors not warnings. The following environment variables are used only if B was configured with the I<--with-env-editor> option: - EDITOR Used by visudo as the editor to use - VISUAL Used by visudo if EDITOR is not set + EDITOR Invoked by visudo as the editor to use + VISUAL Used Invoked visudo if EDITOR is not set =head1 FILES @@ -141,7 +140,7 @@ was configured with the I<--with-env-editor> option: =head1 AUTHOR -Many people have worked on I over the years, this version of +Many people have worked on I over the years; this version of B was written by: Todd Miller