]> granicus.if.org Git - sudo/commitdiff
enveditor -> env_editor
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 18 Feb 2000 17:11:43 +0000 (17:11 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 18 Feb 2000 17:11:43 +0000 (17:11 +0000)
CHANGES
defaults.c
sudoers.cat
sudoers.man
sudoers.pod
visudo.c

diff --git a/CHANGES b/CHANGES
index f2d9cc266e874b0b2e32dc267959c34ccd6498dc..6b5ea41d093b5bf96e0c183baf0314bae0bc67ea 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1249,3 +1249,7 @@ Sudo 1.6.2 released.
      by 'secure-path'.  Patch from jmknoble@pobox.com.
 
 394) Pam now works on HP-UX 11.0, thanks to Jeff A. Earickson.
+
+395) It is now possible to set the path to the editor for visudo as well
+     as the flag that determines whether or not visudo will look at
+     $EDITOR in the sudoers file.
index 8f10be41f75200973791703973912c24357d67a0..77d93a916862b470b273e5a89ea05e42e3fcee03 100644 (file)
@@ -182,7 +182,7 @@ struct sudo_defs_types sudo_defs_table[] = {
        "requiretty", T_FLAG,
        "Only allow the user to run sudo if they have a tty"
     }, {
-       "enveditor", T_FLAG,
+       "env_editor", T_FLAG,
        "Visudo will honor the EDITOR environment variable"
     }, {
        "loglinelen", T_INT|T_BOOL,
index f6ce5f171c71fc2cc7a33c80be364ce9e36e6909..271b063db84dd288289f78a94d8aa4854ab33b8c 100644 (file)
@@ -61,7 +61,7 @@ D\bD\bD\bDE\bE\bE\bES\bS\bS\bSC\bC\bC\bCR\bR\bR\bRI\bI\bI\bIP\bP\bP\bPT\bT\bT\bTI\bI\bI\bIO\bO\bO\bON\bN\bN\bN
 
 
 
-15/Feb/2000                   1.6.3                             1
+18/Feb/2000                   1.6.3                             1
 
 
 
@@ -127,7 +127,7 @@ sudoers(5)                 FILE FORMATS                sudoers(5)
 
 
 
-15/Feb/2000                   1.6.3                             2
+18/Feb/2000                   1.6.3                             2
 
 
 
@@ -193,7 +193,7 @@ sudoers(5)                 FILE FORMATS                sudoers(5)
 
 
 
-15/Feb/2000                   1.6.3                             3
+18/Feb/2000                   1.6.3                             3
 
 
 
@@ -259,7 +259,7 @@ sudoers(5)                 FILE FORMATS                sudoers(5)
 
 
 
-15/Feb/2000                   1.6.3                             4
+18/Feb/2000                   1.6.3                             4
 
 
 
@@ -325,7 +325,7 @@ sudoers(5)                 FILE FORMATS                sudoers(5)
 
 
 
-15/Feb/2000                   1.6.3                             5
+18/Feb/2000                   1.6.3                             5
 
 
 
@@ -374,7 +374,7 @@ sudoers(5)                 FILE FORMATS                sudoers(5)
                    flag to prevent a user from entering a visible
                    password.  This flag is off by default.
 
-       enveditor   If set, visudo will use the value of the
+       env_editor  If set, visudo will use the value of the
                    EDITOR or VISUAL environment falling back on
                    the default editor.  Note that this may create
                    a security hole as most editors allow a user
@@ -391,7 +391,7 @@ sudoers(5)                 FILE FORMATS                sudoers(5)
 
 
 
-15/Feb/2000                   1.6.3                             6
+18/Feb/2000                   1.6.3                             6
 
 
 
@@ -457,7 +457,7 @@ sudoers(5)                 FILE FORMATS                sudoers(5)
 
 
 
-15/Feb/2000                   1.6.3                             7
+18/Feb/2000                   1.6.3                             7
 
 
 
@@ -523,7 +523,7 @@ sudoers(5)                 FILE FORMATS                sudoers(5)
 
 
 
-15/Feb/2000                   1.6.3                             8
+18/Feb/2000                   1.6.3                             8
 
 
 
@@ -589,7 +589,7 @@ sudoers(5)                 FILE FORMATS                sudoers(5)
 
 
 
-15/Feb/2000                   1.6.3                             9
+18/Feb/2000                   1.6.3                             9
 
 
 
@@ -655,7 +655,7 @@ sudoers(5)                 FILE FORMATS                sudoers(5)
 
 
 
-15/Feb/2000                   1.6.3                            10
+18/Feb/2000                   1.6.3                            10
 
 
 
@@ -721,7 +721,7 @@ sudoers(5)                 FILE FORMATS                sudoers(5)
 
 
 
-15/Feb/2000                   1.6.3                            11
+18/Feb/2000                   1.6.3                            11
 
 
 
@@ -787,7 +787,7 @@ E\bE\bE\bEX\bX\bX\bXA\bA\bA\bAM\bM\bM\bMP\bP\bP\bPL\bL\bL\bLE\bE\bE\bES\bS\bS\bS
 
 
 
-15/Feb/2000                   1.6.3                            12
+18/Feb/2000                   1.6.3                            12
 
 
 
@@ -853,7 +853,7 @@ sudoers(5)                 FILE FORMATS                sudoers(5)
 
 
 
-15/Feb/2000                   1.6.3                            13
+18/Feb/2000                   1.6.3                            13
 
 
 
@@ -919,7 +919,7 @@ sudoers(5)                 FILE FORMATS                sudoers(5)
 
 
 
-15/Feb/2000                   1.6.3                            14
+18/Feb/2000                   1.6.3                            14
 
 
 
@@ -985,7 +985,7 @@ C\bC\bC\bCA\bA\bA\bAV\bV\bV\bVE\bE\bE\bEA\bA\bA\bAT\bT\bT\bTS\bS\bS\bS
 
 
 
-15/Feb/2000                   1.6.3                            15
+18/Feb/2000                   1.6.3                            15
 
 
 
@@ -1051,7 +1051,7 @@ S\bS\bS\bSE\bE\bE\bEE\bE\bE\bE A\bA\bA\bAL\bL\bL\bLS\bS\bS\bSO\bO\bO\bO
 
 
 
-15/Feb/2000                   1.6.3                            16
+18/Feb/2000                   1.6.3                            16
 
 
 
@@ -1117,6 +1117,6 @@ sudoers(5)                 FILE FORMATS                sudoers(5)
 
 
 
-15/Feb/2000                   1.6.3                            17
+18/Feb/2000                   1.6.3                            17
 
 
index 4570bc0cf2b9ff165e002a5219956ec3779bdb2f..083b359176f83f74e0eb41ba16dac3e1c20c3404 100644 (file)
@@ -2,8 +2,8 @@
 ''' $RCSfile$$Revision$$Date$
 '''
 ''' $Log$
-''' Revision 1.25  2000/02/16 00:07:28  millert
-''' crank versino to 1.6.3
+''' Revision 1.26  2000/02/18 17:11:43  millert
+''' enveditor -> env_editor
 '''
 '''
 .de Sh
@@ -96,7 +96,7 @@
 .nr % 0
 .rr F
 .\}
-.TH sudoers 5 "1.6.3" "15/Feb/2000" "FILE FORMATS"
+.TH sudoers 5 "1.6.3" "18/Feb/2000" "FILE FORMATS"
 .UC
 .if n .hy 0
 .if n .na
@@ -464,7 +464,7 @@ tty.  This will disallow things like \f(CW"rsh somehost sudo ls"\fR since
 of echo when there is no tty present, some sites may with to set
 this flag to prevent a user from entering a visible password.  This
 flag is off by default.
-.Ip "enveditor" 12
+.Ip "env_editor" 12
 If set, visudo will use the value of the \s-1EDITOR\s0 or \s-1VISUAL\s0 environment
 falling back on the default editor.  Note that this may create a
 security hole as most editors allow a user to get a shell (which
@@ -1007,7 +1007,7 @@ as returned by the \f(CWhostname\fR command or use the \fIfqdn\fR option in
 
 .IX Item "requiretty"
 
-.IX Item "enveditor"
+.IX Item "env_editor"
 
 .IX Item "passwd_tries"
 
index 66c9a745f1ba12de0a739857eec3b0ee7a7fd501..aeca4b2bde80f23b1575a28abed79cb884b37b7f 100644 (file)
@@ -346,7 +346,7 @@ of echo when there is no tty present, some sites may with to set
 this flag to prevent a user from entering a visible password.  This
 flag is off by default.
 
-=item enveditor
+=item env_editor
 
 If set, visudo will use the value of the EDITOR or VISUAL environment
 falling back on the default editor.  Note that this may create a
index 752bf2561a7d44820339c64cca2bbcef11b4b1ac..fc14425f14a357ceb0700febc8f4fce176ad3343 100644 (file)
--- a/visudo.c
+++ b/visudo.c
@@ -210,7 +210,7 @@ main(argc, argv)
        (void) close(stmp_fd);
        (void) touch(stmp, sudoers_sb.st_mtime);
 
-       /* Parse sudoers to pull in editor and enveditor conf values. */
+       /* Parse sudoers to pull in editor and env_editor conf values. */
        if ((yyin = fopen(stmp, "r"))) {
            yyout = stdout;
            init_defaults();