From b2b8542c6a7f0dc525adfb0f3b9a5a961218ae4f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 21 Mar 2008 07:51:20 +0100 Subject: Merging casper 1.123. --- docs/ChangeLog.casper | 9 +++++++++ scripts/live-bottom/44pk_allow | 45 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 scripts/live-bottom/44pk_allow diff --git a/docs/ChangeLog.casper b/docs/ChangeLog.casper index e7af1da..d1b8fe2 100644 --- a/docs/ChangeLog.casper +++ b/docs/ChangeLog.casper @@ -1,3 +1,12 @@ +casper (1.123) hardy; urgency=low + + * Add scripts/casper-bottom/44pk_allow_ubuntu: Allow PolicyKit privileges + without password to the default live session user. This avoids the need to + press Enter at the password prompt, which is quite confusing. Thanks to + MarioDebian! (LP: #201852) + + -- Martin Pitt Fri, 14 Mar 2008 17:26:37 +0100 + casper (1.122) hardy; urgency=low * Fix paths in About Kubuntu links diff --git a/scripts/live-bottom/44pk_allow b/scripts/live-bottom/44pk_allow new file mode 100644 index 0000000..aefde98 --- /dev/null +++ b/scripts/live-bottom/44pk_allow @@ -0,0 +1,45 @@ +#!/bin/sh + +PREREQ="" +DESCRIPTION="Grant administrative PolicyKit pivilieges to default user..." + +. /scripts/casper-functions + +prereqs() +{ + echo "$PREREQ" +} + +case $1 in +# get pre-requisites +prereqs) + prereqs + exit 0 + ;; +esac + +log_begin_msg "$DESCRIPTION" + +# configure PolicyKit in live session +cat << EOF > /root/etc/PolicyKit/PolicyKit.conf + + + + + + + + + + + + + + + + + +EOF + +log_end_msg -- cgit v1.2.3