Fix some thinkos in --with-editor and --with-env-editor descriptions.

Noticed by Norihiko Murase.
This commit is contained in:
Todd C. Miller
2004-08-21 18:25:46 +00:00
parent a6ea92617c
commit 1e46c4d26d

18
INSTALL
View File

@@ -493,20 +493,20 @@ The following options are also configurable at runtime:
Don't print the lecture the first time a user runs sudo. Don't print the lecture the first time a user runs sudo.
--with-editor=PATH --with-editor=PATH
Specify the default editor path for use by visudo. This may be Specify the default editor path for use by visudo. This may be a
a single pathname or a colon-separated list of editors. In single pathname or a colon-separated list of editors. In the latter
the latter case, visudo will choose the editor that matches case, visudo will choose the editor that matches the user's VISUAL
the user's USER environment variable or the first editor in or EDITOR environment variables or the first editor in the list that
the list that exists. The default is the path to vi on your system. exists. The default is the path to vi on your system.
--with-env-editor --with-env-editor
Makes visudo consult the EDITOR and VISUAL environment variables before Makes visudo consult the VISUAL and EDITOR environment variables before
falling back on the default editor list (as specified by --with-editor). falling back on the default editor list (as specified by --with-editor).
Note that this may create a security hole as it allows the user to Note that this may create a security hole as it allows the user to
run any arbitrary command as root without logging. A safer alternative run any arbitrary command as root without logging. A safer alternative
is to use a colon-separated list of editors with the --with-env-editor is to use a colon-separated list of editors with the --with-editor
option. visudo will then only use the EDITOR or VISUAL if they match option. visudo will then only use the VISUAL or EDITOR variables
a value specified via --with-editor. if they match a value specified via --with-editor.
--disable-authentication --disable-authentication
By default, sudo requires the user to authenticate via a By default, sudo requires the user to authenticate via a