[SCM] live-config branch, debian, updated. debian/3.0_a28-1-8-g5713a10
Daniel Baumann
daniel at debian.org
Thu Oct 27 19:52:43 UTC 2011
The following commit has been merged in the debian branch:
commit 4b918751d77c26dbe2cc3b8464996c56fac62557
Author: Daniel Baumann <daniel at debian.org>
Date: Thu Oct 27 18:10:54 2011 +0200
Adding forgotten parsing of cmdline in sudo script to respect username boot parameter (Closes: #646824).
diff --git a/scripts/config/003-sudo b/scripts/config/003-sudo
index 952e551..68abef8 100755
--- a/scripts/config/003-sudo
+++ b/scripts/config/003-sudo
@@ -19,6 +19,16 @@ Sudo ()
echo -n " sudo"
+ # Reading kernel command line
+ for _PARAMETER in ${_CMDLINE}
+ do
+ case "${_PARAMETER}" in
+ live-config.username=*|username=*)
+ LIVE_USERNAME="${_PARAMETER#*username=}"
+ ;;
+ esac
+ done
+
Configure_sudo
}
--
live-config
More information about the debian-live-changes
mailing list