4
DESCRIPTION="Grant administrative PolicyKit privileges to default user..."
19
. /scripts/casper-functions
21
log_begin_msg "$DESCRIPTION"
23
# configure PolicyKit in live session
24
mkdir -p /root/var/lib/polkit-1/localauthority/10-vendor.d
25
cat << EOF > /root/var/lib/polkit-1/localauthority/10-vendor.d/10-live-cd.pkla
26
# Policy to allow the livecd user to bypass policykit
27
[Live CD user permissions]
28
Identity=unix-user:$USERNAME