mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 06:15:37 +00:00
Mention that 127.0.0.1 will not match, nor will localhost unless
that is the actual host name.
This commit is contained in:
@@ -288,7 +288,11 @@ or CIDR notation (number of bits, e.g.E<nbsp>24 or 64). A host name may
|
||||
include shell-style wildcards (see the L<Wildcards> section below),
|
||||
but unless the C<host name> command on your machine returns the fully
|
||||
qualified host name, you'll need to use the I<fqdn> option for
|
||||
wildcards to be useful.
|
||||
wildcards to be useful. Note B<sudo> only inspects actual network
|
||||
interfaces; this means that IP address 127.0.0.1 (localhost) will
|
||||
never match. Also, the host name "localhost" will only match if
|
||||
that is the actual host name, which is usually only the case for
|
||||
non-networked systems.
|
||||
|
||||
Cmnd_List ::= Cmnd |
|
||||
Cmnd ',' Cmnd_List
|
||||
|
Reference in New Issue
Block a user