Public bug reported:

Ubuntu 14.04 LTS
Sudo 1.8.9p5-1ubuntu1

I'm having a problem using a numeric userid match in the sudoers file.

I have the following in my sudoers file:

User_Alias testuid = "#1000"
testuid ALL=(ALL) NOPASSWD: /usr/bin/id

However my user with uid 1000 is not allowed to run the command, its not
listed in sudo -l

I've reported this bug upstream earlier:
http://www.sudo.ws/bugs/show_bug.cgi?id=640

The commit that fixes it:
http://www.sudo.ws/repos/sudo/rev/315eff4add59

It is a regression introduced in sudo 1.8.9 and is present in Trusty and Utopic.
Users might hit this issue if they upgrade from older ubuntu releases and use 
numeric uid match in sudoers file.

** Affects: sudo (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  uid match no longer working in sudoers file on 14.04

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to