sudo

Bug #829342 reported by Kaltsi
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sudo (Ubuntu)
New
Undecided
Unassigned

Bug Description

I create a config file in /etc/sudoers.d/
I can't use sudo from now!!

sudo su - snoop

sudo: /etc/sudoers.d/snoop is mode 0644, should be 0440
>>> /etc/sudoers.d/README: /etc/sudoers.d/snoop near line 18 <<<
sudo: parse error in /etc/sudoers.d/README near line 18
sudo: no valid sudoers sources found, quitting
*** glibc detected *** sudo: double free or corruption (!prev): 0x08a6fb38 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(+0x6b591)[0x49c591]
/lib/tls/i686/cmov/libc.so.6(+0x6cde8)[0x49dde8]
/lib/tls/i686/cmov/libc.so.6(cfree+0x6d)[0x4a0ecd]
/lib/tls/i686/cmov/libc.so.6(fclose+0x14a)[0x48caaa]
sudo[0x805796d]
sudo[0x80589d6]
sudo[0x80564de]
sudo[0x805a314]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0x447bd6]
sudo[0x804a7c1]
======= Memory map: ========
0011b000-00126000 r-xp 00000000 fb:01 149 /lib/libpam.so.0.82.2
00126000-00127000 r--p 0000a000 fb:01 149 /lib/libpam.so.0.82.2
00127000-00128000 rw-p 0000b000 fb:01 149 /lib/libpam.so.0.82.2
00128000-00132000 r-xp 00000000 fb:01 467 /lib/tls/i686/cmov/libnss_files-2.11.1.so
00132000-00133000 r--p 00009000 fb:01 467 /lib/tls/i686/cmov/libnss_files-2.11.1.so
00133000-00134000 rw-p 0000a000 fb:01 467 /lib/tls/i686/cmov/libnss_files-2.11.1.so
001b3000-001b5000 r-xp 00000000 fb:01 461 /lib/tls/i686/cmov/libdl-2.11.1.so
001b5000-001b6000 r--p 00001000 fb:01 461 /lib/tls/i686/cmov/libdl-2.11.1.so
001b6000-001b7000 rw-p 00002000 fb:01 461 /lib/tls/i686/cmov/libdl-2.11.1.so
001e3000-001eb000 r-xp 00000000 fb:01 470 /lib/tls/i686/cmov/libnss_nis-2.11.1.so
001eb000-001ec000 r--p 00007000 fb:01 470 /lib/tls/i686/cmov/libnss_nis-2.11.1.so
001ec000-001ed000 rw-p 00008000 fb:01 470 /lib/tls/i686/cmov/libnss_nis-2.11.1.so
00431000-00584000 r-xp 00000000 fb:01 458 /lib/tls/i686/cmov/libc-2.11.1.so
00584000-00585000 ---p 00153000 fb:01 458 /lib/tls/i686/cmov/libc-2.11.1.so
00585000-00587000 r--p 00153000 fb:01 458 /lib/tls/i686/cmov/libc-2.11.1.so
00587000-00588000 rw-p 00155000 fb:01 458 /lib/tls/i686/cmov/libc-2.11.1.so
00588000-0058b000 rw-p 00000000 00:00 0
005af000-005b5000 r-xp 00000000 fb:01 465 /lib/tls/i686/cmov/libnss_compat-2.11.1.so
005b5000-005b6000 r--p 00006000 fb:01 465 /lib/tls/i686/cmov/libnss_compat-2.11.1.so
005b6000-005b7000 rw-p 00007000 fb:01 465 /lib/tls/i686/cmov/libnss_compat-2.11.1.so
006f1000-006f2000 r-xp 00000000 00:00 0 [vdso]
0073e000-00747000 r-xp 00000000 fb:01 460 /lib/tls/i686/cmov/libcrypt-2.11.1.so
00747000-00748000 r--p 00008000 fb:01 460 /lib/tls/i686/cmov/libcrypt-2.11.1.so
00748000-00749000 rw-p 00009000 fb:01 460 /lib/tls/i686/cmov/libcrypt-2.11.1.so
00749000-00770000 rw-p 00000000 00:00 0
00774000-00787000 r-xp 00000000 fb:01 464 /lib/tls/i686/cmov/libnsl-2.11.1.so
00787000-00788000 r--p 00012000 fb:01 464 /lib/tls/i686/cmov/libnsl-2.11.1.so
00788000-00789000 rw-p 00013000 fb:01 464 /lib/tls/i686/cmov/libnsl-2.11.1.so
00789000-0078b000 rw-p 00000000 00:00 0
0091d000-00938000 r-xp 00000000 fb:01 39 /lib/ld-2.11.1.so
00938000-00939000 r--p 0001a000 fb:01 39 /lib/ld-2.11.1.so
00939000-0093a000 rw-p 0001b000 fb:01 39 /lib/ld-2.11.1.so
00c02000-00c1f000 r-xp 00000000 fb:01 63 /lib/libgcc_s.so.1
00c1f000-00c20000 r--p 0001c000 fb:01 63 /lib/libgcc_s.so.1
00c20000-00c21000 rw-p 0001d000 fb:01 63 /lib/libgcc_s.so.1
08048000-08066000 r-xp 00000000 fb:01 268921 /usr/bin/sudo
08066000-08067000 r--p 0001d000 fb:01 268921 /usr/bin/sudo
08067000-08068000 rw-p 0001e000 fb:01 268921 /usr/bin/sudo
08068000-0806b000 rw-p 00000000 00:00 0
08a66000-08a87000 rw-p 00000000 00:00 0 [heap]
b7500000-b7521000 rw-p 00000000 00:00 0
b7521000-b7600000 ---p 00000000 00:00 0
b76ae000-b76ed000 r--p 00000000 fb:01 260611 /usr/lib/locale/en_US.utf8/LC_CTYPE
b76ed000-b76ee000 r--p 00000000 fb:01 269264 /usr/lib/locale/en_US.utf8/LC_NUMERIC
b76ee000-b76ef000 r--p 00000000 fb:01 269265 /usr/lib/locale/en_US.utf8/LC_TIME
b76ef000-b780d000 r--p 00000000 fb:01 269266 /usr/lib/locale/en_US.utf8/LC_COLLATE
b780d000-b780e000 r--p 00000000 fb:01 269267 /usr/lib/locale/en_US.utf8/LC_MONETARY
b780e000-b780f000 r--p 00000000 fb:01 269269 /usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES
b780f000-b7810000 r--p 00000000 fb:01 269270 /usr/lib/locale/en_US.utf8/LC_PAPER
b7810000-b7811000 r--p 00000000 fb:01 269271 /usr/lib/locale/en_US.utf8/LC_NAME
b7811000-b7812000 r--p 00000000 fb:01 269272 /usr/lib/locale/en_US.utf8/LC_ADDRESS
b7812000-b7813000 r--p 00000000 fb:01 269273 /usr/lib/locale/en_US.utf8/LC_TELEPHONE
b7813000-b7814000 r--p 00000000 fb:01 269274 /usr/lib/locale/en_US.utf8/LC_MEASUREMENT
b7814000-b781b000 r--s 00000000 fb:01 263253 /usr/lib/gconv/gconv-modules.cache
b781b000-b781d000 rw-p 00000000 00:00 0
b7820000-b7821000 r--p 00000000 fb:01 269275 /usr/lib/locale/en_US.utf8/LC_IDENTIFICATION
b7821000-b7823000 rw-p 00000000 00:00 0
bffc4000-bffd9000 rw-p 00000000 00:00 0 [stack]
Aborted

snoop file contain:
# Snoop can run tcpdump without password
%snoop All=NOPASSWD: /usr/sbin/tcpdump

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.