[SCM] live-config branch, debian-next, updated. debian/3.0_a14-1-10-g071d157
Daniel Baumann
daniel at debian.org
Mon Dec 6 16:03:19 UTC 2010
The following commit has been merged in the debian-next branch:
commit 071d157b9c69bd7e185e85ae2b2f07b11ad9174e
Author: Daniel Baumann <daniel at debian.org>
Date: Mon Dec 6 17:02:52 2010 +0100
Using /etc/sudoers.d/live instead of /etc/sudoers in sudo config script.
diff --git a/scripts/config/003-sudo b/scripts/config/003-sudo
index 1a3f86d..000ccc2 100755
--- a/scripts/config/003-sudo
+++ b/scripts/config/003-sudo
@@ -25,12 +25,12 @@ Sudo ()
Configure_sudo ()
{
# Checking if if package is already configured differently
- if grep -q "^${LIVE_USERNAME}" /etc/sudoers
+ if grep -q "^${LIVE_USERNAME}" /etc/sudoers.d/live
then
return
fi
- echo "${LIVE_USERNAME} ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
+ echo "${LIVE_USERNAME} ALL=(ALL) NOPASSWD: ALL" >> /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