[SCM] Debian Live build scripts branch, master, updated. 1.0.1-1-24-g2b229d1

Daniel Baumann daniel at debian.org
Sun Oct 12 12:00:49 UTC 2008


The following commit has been merged in the master branch:
commit 2b229d15861e11ddf6501383eabc73b673487da9
Author: Daniel Baumann <daniel at debian.org>
Date:   Sun Oct 12 13:56:34 2008 +0200

    Making sure /etc/sudoers has right owner/permissions.

diff --git a/helpers/lh_chroot_hacks b/helpers/lh_chroot_hacks
index 563f865..e2cb8cc 100755
--- a/helpers/lh_chroot_hacks
+++ b/helpers/lh_chroot_hacks
@@ -104,6 +104,10 @@ fi
 # through local includes.
 chown -R --quiet 0:0 chroot/home/etc/skel
 
+# Making sure /etc/sudoers has right owner/permissions
+chown --quiet 0:0 chroot/home/etc/sudoers
+chmod 0440 chroot/etc/sudoers
+
 # This is a temporary hack to get rid of fstab;
 # needs cleanup in live-initramfs first to proper fix.
 if [ "${LH_DEBIAN_INSTALLER}" = "live" ]

-- 
Debian Live build scripts



More information about the debian-live-changes mailing list