]> granicus.if.org Git - sudo/commitdiff
Document that sudoers_locale also affects logging and email.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 28 Jan 2011 21:14:29 +0000 (16:14 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 28 Jan 2011 21:14:29 +0000 (16:14 -0500)
--HG--
branch : 1.7

sudoers.cat
sudoers.man.in
sudoers.pod

index 1a7cb63a57c536454f848f37bd037a87b8bd209c..d3fa3c35bdc9af37d58bbaefaf82a7be392d111c 100644 (file)
@@ -61,7 +61,7 @@ D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
 
 
 
-1.7.5b2                  January 13, 2011                       1
+1.7.5b2                  January 28, 2011                       1
 
 
 
@@ -127,7 +127,7 @@ SUDOERS(4)             MAINTENANCE COMMANDS            SUDOERS(4)
 
 
 
-1.7.5b2                  January 13, 2011                       2
+1.7.5b2                  January 28, 2011                       2
 
 
 
@@ -193,7 +193,7 @@ SUDOERS(4)             MAINTENANCE COMMANDS            SUDOERS(4)
 
 
 
-1.7.5b2                  January 13, 2011                       3
+1.7.5b2                  January 28, 2011                       3
 
 
 
@@ -259,7 +259,7 @@ SUDOERS(4)             MAINTENANCE COMMANDS            SUDOERS(4)
 
 
 
-1.7.5b2                  January 13, 2011                       4
+1.7.5b2                  January 28, 2011                       4
 
 
 
@@ -325,7 +325,7 @@ SUDOERS(4)             MAINTENANCE COMMANDS            SUDOERS(4)
 
 
 
-1.7.5b2                  January 13, 2011                       5
+1.7.5b2                  January 28, 2011                       5
 
 
 
@@ -391,7 +391,7 @@ SUDOERS(4)             MAINTENANCE COMMANDS            SUDOERS(4)
 
 
 
-1.7.5b2                  January 13, 2011                       6
+1.7.5b2                  January 28, 2011                       6
 
 
 
@@ -457,7 +457,7 @@ SUDOERS(4)             MAINTENANCE COMMANDS            SUDOERS(4)
 
 
 
-1.7.5b2                  January 13, 2011                       7
+1.7.5b2                  January 28, 2011                       7
 
 
 
@@ -523,7 +523,7 @@ SUDOERS(4)             MAINTENANCE COMMANDS            SUDOERS(4)
 
 
 
-1.7.5b2                  January 13, 2011                       8
+1.7.5b2                  January 28, 2011                       8
 
 
 
@@ -589,7 +589,7 @@ SUDOERS(4)             MAINTENANCE COMMANDS            SUDOERS(4)
 
 
 
-1.7.5b2                  January 13, 2011                       9
+1.7.5b2                  January 28, 2011                       9
 
 
 
@@ -655,7 +655,7 @@ S\bSU\bUD\bDO\bOE\bER\bRS\bS O\bOP\bPT\bTI\bIO\bON\bNS\bS
 
 
 
-1.7.5b2                  January 13, 2011                      10
+1.7.5b2                  January 28, 2011                      10
 
 
 
@@ -721,7 +721,7 @@ SUDOERS(4)             MAINTENANCE COMMANDS            SUDOERS(4)
 
 
 
-1.7.5b2                  January 13, 2011                      11
+1.7.5b2                  January 28, 2011                      11
 
 
 
@@ -787,7 +787,7 @@ SUDOERS(4)             MAINTENANCE COMMANDS            SUDOERS(4)
 
 
 
-1.7.5b2                  January 13, 2011                      12
+1.7.5b2                  January 28, 2011                      12
 
 
 
@@ -853,7 +853,7 @@ SUDOERS(4)             MAINTENANCE COMMANDS            SUDOERS(4)
 
 
 
-1.7.5b2                  January 13, 2011                      13
+1.7.5b2                  January 28, 2011                      13
 
 
 
@@ -919,7 +919,7 @@ SUDOERS(4)             MAINTENANCE COMMANDS            SUDOERS(4)
 
 
 
-1.7.5b2                  January 13, 2011                      14
+1.7.5b2                  January 28, 2011                      14
 
 
 
@@ -985,7 +985,7 @@ SUDOERS(4)             MAINTENANCE COMMANDS            SUDOERS(4)
 
 
 
-1.7.5b2                  January 13, 2011                      15
+1.7.5b2                  January 28, 2011                      15
 
 
 
@@ -1051,7 +1051,7 @@ SUDOERS(4)             MAINTENANCE COMMANDS            SUDOERS(4)
 
 
 
-1.7.5b2                  January 13, 2011                      16
+1.7.5b2                  January 28, 2011                      16
 
 
 
@@ -1117,7 +1117,7 @@ SUDOERS(4)             MAINTENANCE COMMANDS            SUDOERS(4)
 
 
 
-1.7.5b2                  January 13, 2011                      17
+1.7.5b2                  January 28, 2011                      17
 
 
 
@@ -1131,9 +1131,10 @@ SUDOERS(4)             MAINTENANCE COMMANDS            SUDOERS(4)
        syslog_goodpri  Syslog priority to use when user authenticates
                        successfully.  Defaults to notice.
 
-       sudoers_locale  Locale to use when parsing the sudoers file.  Note that
-                       changing the locale may affect how sudoers is
-                       interpreted.  Defaults to "C".
+       sudoers_locale  Locale to use when parsing the sudoers file, logging
+                       commands, and sending email.  Note that changing the
+                       locale may affect how sudoers is interpreted.  Defaults
+                       to "C".
 
        timestampdir    The directory in which s\bsu\bud\bdo\bo stores its timestamp files.
                        The default is _\b/_\bv_\ba_\br_\b/_\ba_\bd_\bm_\b/_\bs_\bu_\bd_\bo.
@@ -1179,11 +1180,10 @@ SUDOERS(4)             MAINTENANCE COMMANDS            SUDOERS(4)
 
                    never   Never lecture the user.
 
-                   once    Only lecture the user the first time they run s\bsu\bud\bdo\bo.
 
 
 
-1.7.5b2                  January 13, 2011                      18
+1.7.5b2                  January 28, 2011                      18
 
 
 
@@ -1192,6 +1192,8 @@ SUDOERS(4)             MAINTENANCE COMMANDS            SUDOERS(4)
 SUDOERS(4)             MAINTENANCE COMMANDS            SUDOERS(4)
 
 
+                   once    Only lecture the user the first time they run s\bsu\bud\bdo\bo.
+
                    If no value is specified, a value of _\bo_\bn_\bc_\be is implied.
                    Negating the option results in a value of _\bn_\be_\bv_\be_\br being used.
                    The default value is _\bo_\bn_\bc_\be.
@@ -1244,12 +1246,10 @@ SUDOERS(4)             MAINTENANCE COMMANDS            SUDOERS(4)
        secure_path Path used for every command run from s\bsu\bud\bdo\bo.  If you don't
                    trust the people running s\bsu\bud\bdo\bo to have a sane PATH
                    environment variable you may want to use this.  Another use
-                   is if you want to have the "root path" be separate from the
-                   "user path."  Users in the group specified by the
 
 
 
-1.7.5b2                  January 13, 2011                      19
+1.7.5b2                  January 28, 2011                      19
 
 
 
@@ -1258,6 +1258,8 @@ SUDOERS(4)             MAINTENANCE COMMANDS            SUDOERS(4)
 SUDOERS(4)             MAINTENANCE COMMANDS            SUDOERS(4)
 
 
+                   is if you want to have the "root path" be separate from the
+                   "user path."  Users in the group specified by the
                    _\be_\bx_\be_\bm_\bp_\bt_\b__\bg_\br_\bo_\bu_\bp option are not affected by _\bs_\be_\bc_\bu_\br_\be_\b__\bp_\ba_\bt_\bh.  This
                    option is not set by default.
 
@@ -1310,12 +1312,10 @@ SUDOERS(4)             MAINTENANCE COMMANDS            SUDOERS(4)
                        can be replaced, added to, deleted from, or disabled by
                        using the =, +=, -=, and ! operators respectively.  The
                        default list of environment variables to remove is
-                       displayed when s\bsu\bud\bdo\bo is run by root with the _\b-_\bV option.
-                       Note that many operating systems will remove
 
 
 
-1.7.5b2                  January 13, 2011                      20
+1.7.5b2                  January 28, 2011                      20
 
 
 
@@ -1324,6 +1324,8 @@ SUDOERS(4)             MAINTENANCE COMMANDS            SUDOERS(4)
 SUDOERS(4)             MAINTENANCE COMMANDS            SUDOERS(4)
 
 
+                       displayed when s\bsu\bud\bdo\bo is run by root with the _\b-_\bV option.
+                       Note that many operating systems will remove
                        potentially dangerous variables from the environment of
                        any setuid process (such as s\bsu\bud\bdo\bo).
 
@@ -1376,12 +1378,10 @@ E\bEX\bXA\bAM\bMP\bPL\bLE\bES\bS
 
         # Host alias specification
         Host_Alias     SPARC = bigtime, eclipse, moet, anchor :\
-                       SGI = grolsch, dandelion, black :\
-                       ALPHA = widget, thalamus, foobar :\
 
 
 
-1.7.5b2                  January 13, 2011                      21
+1.7.5b2                  January 28, 2011                      21
 
 
 
@@ -1390,6 +1390,8 @@ E\bEX\bXA\bAM\bMP\bPL\bLE\bES\bS
 SUDOERS(4)             MAINTENANCE COMMANDS            SUDOERS(4)
 
 
+                       SGI = grolsch, dandelion, black :\
+                       ALPHA = widget, thalamus, foobar :\
                        HPPA = boa, nag, python
         Host_Alias     CUNETS = 128.138.0.0/255.255.0.0
         Host_Alias     CSNETS = 128.138.243.0, 128.138.204.0/24, 128.138.242.0
@@ -1443,11 +1445,9 @@ SUDOERS(4)             MAINTENANCE COMMANDS            SUDOERS(4)
        Full time sysadmins (m\bmi\bil\bll\ble\ber\brt\bt, m\bmi\bik\bke\bef\bf, and d\bdo\bow\bwd\bdy\by) may run any command on
        any host without authenticating themselves.
 
-        PARTTIMERS     ALL = ALL
-
 
 
-1.7.5b2                  January 13, 2011                      22
+1.7.5b2                  January 28, 2011                      22
 
 
 
@@ -1456,6 +1456,8 @@ SUDOERS(4)             MAINTENANCE COMMANDS            SUDOERS(4)
 SUDOERS(4)             MAINTENANCE COMMANDS            SUDOERS(4)
 
 
+        PARTTIMERS     ALL = ALL
+
        Part time sysadmins (b\bbo\bos\bst\btl\ble\bey\by, j\bjw\bwf\bfo\box\bx, and c\bcr\bra\baw\bwl\bl) may run any command on
        any host but they must authenticate themselves first (since the entry
        lacks the NOPASSWD tag).
@@ -1508,12 +1510,10 @@ SUDOERS(4)             MAINTENANCE COMMANDS            SUDOERS(4)
 
         +secretaries   ALL = PRINTING, /usr/bin/adduser, /usr/bin/rmuser
 
-       Users in the s\bse\bec\bcr\bre\bet\bta\bar\bri\bie\bes\bs netgroup need to help manage the printers as
-       well as add and remove users, so they are allowed to run those commands
 
 
 
-1.7.5b2                  January 13, 2011                      23
+1.7.5b2                  January 28, 2011                      23
 
 
 
@@ -1522,6 +1522,8 @@ SUDOERS(4)             MAINTENANCE COMMANDS            SUDOERS(4)
 SUDOERS(4)             MAINTENANCE COMMANDS            SUDOERS(4)
 
 
+       Users in the s\bse\bec\bcr\bre\bet\bta\bar\bri\bie\bes\bs netgroup need to help manage the printers as
+       well as add and remove users, so they are allowed to run those commands
        on all machines.
 
         fred           ALL = (DB) NOPASSWD: ALL
@@ -1575,11 +1577,9 @@ S\bSE\bEC\bCU\bUR\bRI\bIT\bTY\bY N\bNO\bOT\bTE\bES\bS
        desired command to a different name and then executing that.  For
        example:
 
-           bill        ALL = ALL, !SU, !SHELLS
-
 
 
-1.7.5b2                  January 13, 2011                      24
+1.7.5b2                  January 28, 2011                      24
 
 
 
@@ -1588,6 +1588,8 @@ S\bSE\bEC\bCU\bUR\bRI\bIT\bTY\bY N\bNO\bOT\bTE\bES\bS
 SUDOERS(4)             MAINTENANCE COMMANDS            SUDOERS(4)
 
 
+           bill        ALL = ALL, !SU, !SHELLS
+
        Doesn't really prevent b\bbi\bil\bll\bl from running the commands listed in _\bS_\bU or
        _\bS_\bH_\bE_\bL_\bL_\bS since he can simply copy those commands to a different name, or
        use a shell escape from an editor or other program.  Therefore, these
@@ -1641,11 +1643,9 @@ P\bPR\bRE\bEV\bVE\bEN\bNT\bTI\bIN\bNG\bG S\bSH\bHE\bEL\bLL\bL E\bES\bSC\bCA\bAP\bPE\bES\bS
 
                      sudo -V | grep "dummy exec"
 
-                 If the resulting output contains a line that begins with:
 
 
-
-1.7.5b2                  January 13, 2011                      25
+1.7.5b2                  January 28, 2011                      25
 
 
 
@@ -1654,6 +1654,8 @@ P\bPR\bRE\bEV\bVE\bEN\bNT\bTI\bIN\bNG\bG S\bSH\bHE\bEL\bLL\bL E\bES\bSC\bCA\bAP\bPE\bES\bS
 SUDOERS(4)             MAINTENANCE COMMANDS            SUDOERS(4)
 
 
+                 If the resulting output contains a line that begins with:
+
                      File containing dummy exec functions:
 
                  then s\bsu\bud\bdo\bo may be able to replace the exec family of functions
@@ -1706,12 +1708,10 @@ B\bBU\bUG\bGS\bS
 
 S\bSU\bUP\bPP\bPO\bOR\bRT\bT
        Limited free support is available via the sudo-users mailing list, see
-       http://www.sudo.ws/mailman/listinfo/sudo-users to subscribe or search
-       the archives.
 
 
 
-1.7.5b2                  January 13, 2011                      26
+1.7.5b2                  January 28, 2011                      26
 
 
 
@@ -1720,6 +1720,9 @@ S\bSU\bUP\bPP\bPO\bOR\bRT\bT
 SUDOERS(4)             MAINTENANCE COMMANDS            SUDOERS(4)
 
 
+       http://www.sudo.ws/mailman/listinfo/sudo-users to subscribe or search
+       the archives.
+
 D\bDI\bIS\bSC\bCL\bLA\bAI\bIM\bME\bER\bR
        s\bsu\bud\bdo\bo is provided ``AS IS'' and any express or implied warranties,
        including, but not limited to, the implied warranties of
@@ -1774,9 +1777,6 @@ D\bDI\bIS\bSC\bCL\bLA\bAI\bIM\bME\bER\bR
 
 
 
-
-
-
-1.7.5b2                  January 13, 2011                      27
+1.7.5b2                  January 28, 2011                      27
 
 
index d1a4fa3ad0e759abae519980116b2540116e0032..95b3320d5196a3283b371812afb587199486af84 100644 (file)
 .\" ========================================================================
 .\"
 .IX Title "SUDOERS @mansectform@"
-.TH SUDOERS @mansectform@ "January 13, 2011" "1.7.5b2" "MAINTENANCE COMMANDS"
+.TH SUDOERS @mansectform@ "January 28, 2011" "1.7.5b2" "MAINTENANCE COMMANDS"
 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 .\" way too many mistakes in technical documents.
 .if n .ad l
@@ -1184,9 +1184,9 @@ Syslog priority to use when user authenticates successfully.
 Defaults to \f(CW\*(C`@goodpri@\*(C'\fR.
 .IP "sudoers_locale" 16
 .IX Item "sudoers_locale"
-Locale to use when parsing the sudoers file.  Note that changing
-the locale may affect how sudoers is interpreted.
-Defaults to \f(CW"C"\fR.
+Locale to use when parsing the sudoers file, logging commands, and
+sending email.  Note that changing the locale may affect how sudoers
+is interpreted.  Defaults to \f(CW"C"\fR.
 .IP "timestampdir" 16
 .IX Item "timestampdir"
 The directory in which \fBsudo\fR stores its timestamp files.
index 1768c3cf2ab150a87963dddda4a70c7bf697efd6..4697be69b2ecbf30ccc9235279ea0992c8c6c5aa 100644 (file)
@@ -1107,9 +1107,9 @@ Defaults to C<@goodpri@>.
 
 =item sudoers_locale
 
-Locale to use when parsing the sudoers file.  Note that changing
-the locale may affect how sudoers is interpreted.
-Defaults to C<"C">.
+Locale to use when parsing the sudoers file, logging commands, and
+sending email.  Note that changing the locale may affect how sudoers
+is interpreted.  Defaults to C<"C">.
 
 =item timestampdir