From 0ea35c0d32ea4783173f7be0ac723c2e1220a66e Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Tue, 24 Apr 2007 18:44:19 +0000 Subject: [PATCH] Attempt to clarify the bit talking about network numbers w/o netmasks. --- sudoers.pod | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/sudoers.pod b/sudoers.pod index 807f76240..a2439c4bb 100644 --- a/sudoers.pod +++ b/sudoers.pod @@ -152,14 +152,16 @@ can use a uid instead (#0 in the example given). A C is made up of one or more hostnames, IP addresses, network numbers, netgroups (prefixed with '+') and other aliases. Again, the value of an item may be negated with the '!' operator. -If you do not specify a netmask with a network number, the netmask -of the host's ethernet interface(s) will be used when matching. -The netmask may be specified either in dotted quad notation -(e.g.E255.255.255.0) or CIDR notation (number of bits, e.g.E24). -A hostname may include shell-style wildcards (see the L section -below), but unless the C command on your machine returns the fully -qualified hostname, you'll need to use the I option for wildcards -to be useful. +If you do not specify a netmask along with the network number, +B will query each of the local host's network interfaces and, +if the network number corresponds to one of the hosts's network +interfaces, the corresponding netmask will be used. The netmask +may be specified either in dotted quad notation (e.g.E255.255.255.0) +or CIDR notation (number of bits, e.g.E24). A hostname may +include shell-style wildcards (see the L section below), +but unless the C command on your machine returns the fully +qualified hostname, you'll need to use the I option for +wildcards to be useful. Cmnd_List ::= Cmnd | Cmnd ',' Cmnd_List -- 2.50.1