Public bug reported:
Binary package hint: sudo
I was trying to make truecrypt to mount encrypted container without
asking my user's password after I provided my truecrypt password and
found out that I need to modify my 'sudo' configuration. After reading
bit more about sudo configuration I found out that custom configuration
should be placed in '/etc/sudoers.d' instead of modifying the default
'/etc/sudoers' file. I found out that my custom setting did not worked
any user who is member of the group 'admin', but worked find for any
other user. I found that last line '%admin ALL=(ALL) ALL' in default
'/etc/sudoers' file overwrites any setting set in '/etc/sudoers.d'. I
fixed it by moving the '#includedir /etc/sudoers.d' to be the last line.
I am attaching my patch. I think that this should be fixed in default
configuration file because I believe this file will get overwritten
during the next 'sudo' upgrade.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: sudo 1.7.2p1-1ubuntu5
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic i686
Architecture: i386
Date: Fri May 14 20:05:14 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
ProcEnviron:
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: sudo
VisudoCheck: /etc/sudoers: parsed OK
** Affects: sudo (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug i386 lucid
--
Default /etc/sudoers file overwrites /etc/sudoers.d for 'admin' users
https://bugs.launchpad.net/bugs/580801
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs