[SCM] live-config branch, debian-next, updated. debian/3.0_a14-1-22-g95bd23d

Daniel Baumann daniel at debian.org
Sat Jan 8 13:42:48 UTC 2011


The following commit has been merged in the debian-next branch:
commit 95bd23d9122994521b6949003120ed7eb4180206
Author: Daniel Baumann <daniel at debian.org>
Date:   Sat Jan 8 14:42:21 2011 +0100

    Correcting permission of /etc/sudoers.d/live.

diff --git a/scripts/config/003-sudo b/scripts/config/003-sudo
index f404476..3e9c790 100755
--- a/scripts/config/003-sudo
+++ b/scripts/config/003-sudo
@@ -31,6 +31,7 @@ Configure_sudo ()
 	fi
 
 	echo "${LIVE_USERNAME} ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers.d/live
+	chmod 0440 /etc/sudoers.d/live
 
 	sudo -u "${LIVE_USERNAME}" sh -c "echo 'SU_TO_ROOT_SU=sudo' >> /home/${LIVE_USERNAME}/.su-to-rootrc"
 

-- 
live-config



More information about the debian-live-changes mailing list