Add netgroup caveat SUDO_1_6_2
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 24 Jan 2000 03:57:49 +0000 (03:57 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 24 Jan 2000 03:57:49 +0000 (03:57 +0000)
sudoers.cat
sudoers.man
sudoers.pod

index 51e5be632b2c1710cee97ea3710ce21b04ff2cac..936d734e5d7bb1837ebc907af3b616bae34ca00f 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
 
 
 
-18/Jan/2000                   1.6.2                             1
+23/Jan/2000                   1.6.2                             1
 
 
 
@@ -127,7 +127,7 @@ sudoers(5)                 FILE FORMATS                sudoers(5)
 
 
 
-18/Jan/2000                   1.6.2                             2
+23/Jan/2000                   1.6.2                             2
 
 
 
@@ -193,7 +193,7 @@ sudoers(5)                 FILE FORMATS                sudoers(5)
 
 
 
-18/Jan/2000                   1.6.2                             3
+23/Jan/2000                   1.6.2                             3
 
 
 
@@ -259,7 +259,7 @@ sudoers(5)                 FILE FORMATS                sudoers(5)
 
 
 
-18/Jan/2000                   1.6.2                             4
+23/Jan/2000                   1.6.2                             4
 
 
 
@@ -325,7 +325,7 @@ sudoers(5)                 FILE FORMATS                sudoers(5)
 
 
 
-18/Jan/2000                   1.6.2                             5
+23/Jan/2000                   1.6.2                             5
 
 
 
@@ -391,7 +391,7 @@ sudoers(5)                 FILE FORMATS                sudoers(5)
 
 
 
-18/Jan/2000                   1.6.2                             6
+23/Jan/2000                   1.6.2                             6
 
 
 
@@ -457,7 +457,7 @@ sudoers(5)                 FILE FORMATS                sudoers(5)
 
 
 
-18/Jan/2000                   1.6.2                             7
+23/Jan/2000                   1.6.2                             7
 
 
 
@@ -523,7 +523,7 @@ sudoers(5)                 FILE FORMATS                sudoers(5)
 
 
 
-18/Jan/2000                   1.6.2                             8
+23/Jan/2000                   1.6.2                             8
 
 
 
@@ -589,7 +589,7 @@ sudoers(5)                 FILE FORMATS                sudoers(5)
 
 
 
-18/Jan/2000                   1.6.2                             9
+23/Jan/2000                   1.6.2                             9
 
 
 
@@ -655,7 +655,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
 
 
 
-18/Jan/2000                   1.6.2                            10
+23/Jan/2000                   1.6.2                            10
 
 
 
@@ -721,7 +721,7 @@ sudoers(5)                 FILE FORMATS                sudoers(5)
 
 
 
-18/Jan/2000                   1.6.2                            11
+23/Jan/2000                   1.6.2                            11
 
 
 
@@ -787,7 +787,7 @@ sudoers(5)                 FILE FORMATS                sudoers(5)
 
 
 
-18/Jan/2000                   1.6.2                            12
+23/Jan/2000                   1.6.2                            12
 
 
 
@@ -829,6 +829,12 @@ C\bC\bC\bCA\bA\bA\bAV\bV\bV\bVE\bE\bE\bEA\bA\bA\bAT\bT\bT\bTS\bS\bS\bS
        errors since s\bs\bs\bsu\bu\bu\bud\bd\bd\bdo\bo\bo\bo will not run with a syntactically
        incorrect _\bs_\bu_\bd_\bo_\be_\br_\bs file.
 
+       When using netgroups of machines (as opposed to users), if
+       you store fully-qualified hostnames in the netgroup (as is
+       usually the case), you either need to have the machine's
+       hostname be fully-qualified as returned by the hostname
+       command or use the _\bf_\bq_\bd_\bn option in _\bs_\bu_\bd_\bo_\be_\br_\bs.
+
 F\bF\bF\bFI\bI\bI\bIL\bL\bL\bLE\bE\bE\bES\bS\bS\bS
         /etc/sudoers           List of who can run what
         /etc/group             Local groups file
@@ -847,13 +853,7 @@ S\bS\bS\bSE\bE\bE\bEE\bE\bE\bE A\bA\bA\bAL\bL\bL\bLS\bS\bS\bSO\bO\bO\bO
 
 
 
-
-
-
-
-
-
-18/Jan/2000                   1.6.2                            13
+23/Jan/2000                   1.6.2                            13
 
 
 
@@ -919,6 +919,6 @@ sudoers(5)                 FILE FORMATS                sudoers(5)
 
 
 
-18/Jan/2000                   1.6.2                            14
+23/Jan/2000                   1.6.2                            14
 
 
index 329aff2d0cdaef9408ef1ef830bf8ec2f04c674c..62a087d1792aa32dc9fee1741fc918a49a86dcd9 100644 (file)
@@ -2,8 +2,8 @@
 ''' $RCSfile$$Revision$$Date$
 '''
 ''' $Log$
-''' Revision 1.21  2000/01/18 22:00:40  millert
-''' "a a" -> "a"; Aaron Campbell <aaron@cs.dal.ca>
+''' Revision 1.22  2000/01/24 03:57:49  millert
+''' Add netgroup caveat
 '''
 '''
 .de Sh
@@ -96,7 +96,7 @@
 .nr % 0
 .rr F
 .\}
-.TH sudoers 5 "1.6.2" "18/Jan/2000" "FILE FORMATS"
+.TH sudoers 5 "1.6.2" "23/Jan/2000" "FILE FORMATS"
 .UC
 .if n .hy 0
 .if n .na
@@ -851,6 +851,12 @@ The \fIsudoers\fR file should \fBalways\fR be edited by the \fBvisudo\fR
 command which locks the file and does grammatical checking. It is
 imperative that \fIsudoers\fR be free of syntax errors since \fBsudo\fR
 will not run with a syntactically incorrect \fIsudoers\fR file.
+.PP
+When using netgroups of machines (as opposed to users), if you
+store fully-qualified hostnames in the netgroup (as is usually the
+case), you either need to have the machine's hostname be fully-qualified
+as returned by the \f(CWhostname\fR command or use the \fIfqdn\fR option in
+\fIsudoers\fR.
 .SH "FILES"
 .PP
 .Vb 3
@@ -977,7 +983,7 @@ will not run with a syntactically incorrect \fIsudoers\fR file.
 
 .IX Subsection "Exceptions to wildcard rules:"
 
-.IX Item "\f(CW""\fR"
+.IX Item \f(CW""\fR
 
 .IX Subsection "Other special characters and reserved words:"
 
index b9aa15e5c06244ccf74040e5518530eb06cefeca..23ec6a006da5fc7a7219de3a931dcfc20d03489a 100644 (file)
@@ -785,6 +785,12 @@ command which locks the file and does grammatical checking. It is
 imperative that I<sudoers> be free of syntax errors since B<sudo>
 will not run with a syntactically incorrect I<sudoers> file.
 
+When using netgroups of machines (as opposed to users), if you
+store fully-qualified hostnames in the netgroup (as is usually the
+case), you either need to have the machine's hostname be fully-qualified
+as returned by the C<hostname> command or use the I<fqdn> option in
+I<sudoers>.
+
 =head1 FILES
 
  /etc/sudoers          List of who can run what