[SCM] live-config branch, debian-next, updated. debian/2.0_a2-1-9-g5021e57

Daniel Baumann daniel at debian.org
Sat May 29 10:12:49 UTC 2010


The following commit has been merged in the debian-next branch:
commit 5021e578e66a637d35761c761c425b876dd0f5bf
Author: Daniel Baumann <daniel at debian.org>
Date:   Sat May 29 12:06:23 2010 +0200

    Adding shortcut parameter to disable root privileges, no matter what mechanism would be used.

diff --git a/scripts/config.sh b/scripts/config.sh
index ab45868..7b21a55 100755
--- a/scripts/config.sh
+++ b/scripts/config.sh
@@ -66,6 +66,12 @@ Cmdline ()
 				HOOK="${PARAMETER#live-config.hook=}"
 				;;
 
+			# Shortcuts
+			noroot)
+				# Disable root access, no matter what mechanism
+				SCRIPTS="${SCRIPTS:-$(ls /lib/live/config/*)}"
+				NOCONFIGS="${NOCONFIGS},sudo,policykit"
+				;;
 		esac
 	done
 

-- 
live-config



More information about the debian-live-changes mailing list