diff options
| author | Daniel Baumann <daniel@debian.org> | 2010-05-01 12:08:48 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:48:08 +0100 |
| commit | 988bdd427d963e255e75eb19fba0af98a4ea99cd (patch) | |
| tree | b5c7307e93cb15a2fa110d12df322b864867e9c9 /scripts/live-bottom | |
| parent | 5de2aaf4b04a2a6cad4914a18636df5f5d4f6741 (diff) | |
| download | live-boot-988bdd427d963e255e75eb19fba0af98a4ea99cd.tar.gz live-boot-988bdd427d963e255e75eb19fba0af98a4ea99cd.zip | |
Merging casper 1.201.
Diffstat (limited to 'scripts/live-bottom')
| -rwxr-xr-x | scripts/live-bottom/44pk_allow | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/live-bottom/44pk_allow b/scripts/live-bottom/44pk_allow index fec6401..a211880 100755 --- a/scripts/live-bottom/44pk_allow +++ b/scripts/live-bottom/44pk_allow @@ -57,4 +57,15 @@ cat << EOF >> /root/etc/PolicyKit/PolicyKit.conf </config> EOF +mkdir -p /root/var/lib/polkit-1/localauthority/10-vendor.d +cat << EOF > /root/var/lib/polkit-1/localauthority/10-vendor.d/10-live-cd.pkla +# Policy to allow the livecd user to bypass policykit +[Live CD user permissions] +Identity=unix-user:$USERNAME +Action=* +ResultAny=no +ResultInactive=no +ResultActive=yes +EOF + log_end_msg |
