]> granicus.if.org Git - sudo/commitdiff
The sudoers variable is env_editor, not enveditor.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 12 Apr 2007 15:18:15 +0000 (15:18 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 12 Apr 2007 15:18:15 +0000 (15:18 +0000)
From Jean-Francois Saucier.

visudo.pod

index c8b9f5a7736f171ba2399587532e61de14d1d24a..7f31606428f3fe1f4b282195ceacfd6426c34671 100644 (file)
@@ -44,7 +44,7 @@ your system, as determined by the I<configure> script.  Normally,
 B<visudo> does not honor the C<VISUAL> or C<EDITOR> environment
 variables unless they contain an editor in the aforementioned editors
 list.  However, if B<visudo> is configured with the I<--with-enveditor>
-flag or the I<enveditor> C<Default> variable is set in I<sudoers>,
+flag or the I<env_editor> C<Default> variable is set in I<sudoers>,
 B<visudo> will use any the editor defines by C<VISUAL> or C<EDITOR>.
 Note that this can be a security hole since it allows the user to
 execute any program they wish simply by setting C<VISUAL> or C<EDITOR>.