← Back to team overview

registry team mailing list archive

[Bug 543662] Re: Crashes due to wrong permissions of sudoers file.

 

$ debootstrap --variant=minbase lucid lucid
$ mount -t proc none lucid/proc
$ mount -o rbind /dev lucid/dev
$ chroot lucid
root@foghorn:/# echo -e '#!/bin/sh\nexit 101' > /usr/sbin/policy-rc.d
root@foghorn:/# chmod a+x /usr/sbin/policy-rc.d
root@foghorn:/# echo deb http://de.archive.ubuntu.com/ubuntu lucid main universe > /etc/apt/sources.list
root@foghorn:/# echo deb http://de.archive.ubuntu.com/ubuntu lucid-security main universe >> /etc/apt/sources.list
root@foghorn:/# apt-get update && apt-get dist-upgrade
...
root@foghorn:/# apt-get install --no-install-recommends sudo
...
root@foghorn:/# apt-get install --no-install-recommends aegir-provision
...
root@foghorn:/# sudo true
sudo: /etc/sudoers.d/aegir is mode 0600, should be 0440
>>> /etc/sudoers.d/README: /etc/sudoers.d/aegir 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): 0x09025010 ***
...
root@foghorn:/# echo deb http://de.archive.ubuntu.com/ubuntu lucid-proposed main universe >> /etc/apt/sources.list
root@foghorn:/# apt-get update
...
root@foghorn:/# apt-get install aegir-provision
...
root@foghorn:/# sudo true
root@foghorn:/#

-- 
Crashes due to wrong permissions of sudoers file.
https://bugs.launchpad.net/bugs/543662
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for Debian.