This still happens for me on oneiric.
The #includedir directive *is* on the last line in /etc/sudoers, but the
settings in the file /etc/sudoers.d/sometest are still overwritten by
the rules /preceding/ it.
sudo -l gives:
Matching Defaults entries for paul on this host:
env_reset
User paul may run the following commands on this host:
(ALL) ALL
(root) NOPASSWD: /sbin/mount
Trying to run "sudo /sbin/mount" still results in sudo asking for a
password.
When I move the line from /etc/sudoers.d/sometest to the /etc/sudoers
file it works.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/580801
Title:
Default /etc/sudoers file overwrites /etc/sudoers.d for 'admin' users
To manage notifications about this bug go to:
https://bugs.launchpad.net/sudo/+bug/580801/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs