It's not documented that access.conf allows end-of-line comments because
it *doesn't*; any use of '# text' at the end of the line is in fact
parsed *as part of the 'origins' field*.  This means that trying to
comment out an origin this way does *not* prevent that origin from being
used to get access. E.g.,

       + : root : 192.168.200.1 192.168.200.4 192.168.200.9 # we don't
trust 192.168.200.5

would, in fact, allow access from 192.168.200.5 (as well as any
hypothetical hosts named "we", "don't", "trust", and "#").

Closing this as invalid, therefore, as the documentation is entirely
accurate.

** Changed in: pam (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/403952

Title:
  access.conf should mention that it allows side-comments

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to