[Bug 449247] Re: Asterisk wildcard handling in sudoers doesn't match man page

jhansonxi 449247 at bugs.launchpad.net
Thu Oct 3 01:17:12 UTC 2013


Likely fixed via bug #228046.

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

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

Title:
  Asterisk wildcard handling in sudoers doesn't match man page

Status in “sudo” package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: sudo

  Ubuntu 9.04 x86_64

  If I enter the following into sudoers with visudo:
  backuppc ALL=NOPASSWD: /usr/bin/rsync --help

  The command "sudo rsync --help" returns the normal help listing.  If I change sudoers to this:
  backuppc ALL=NOPASSWD: /usr/bin/rsync --help *

  The command fails by asking for a password and then telling me the
  backuppc account is not allowed to execute the issued command.  It
  succeeds if I add anything after the "--help".  The man page for
  sudoers indicates that an asterisk matches "any set of zero or more
  characters".  I tried ".*" but regular expressions are not supported
  and this is interpreted as a requirement for leading period at the
  beginning of the subsequent parameter.

  Possibly related to bug #228046.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/449247/+subscriptions



More information about the foundations-bugs mailing list