2
0
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:
Todd C. Miller
2010-07-21 15:19:56 -04:00
parent a72965e64c
commit bdecb14ea6
3 changed files with 74 additions and 66 deletions

View File

@@ -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