[gdm/wip/initial-setup2: 9/32] Add a .pkla file for use during setup
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm/wip/initial-setup2: 9/32] Add a .pkla file for use during setup
- Date: Fri, 13 Apr 2012 22:17:23 +0000 (UTC)
commit 19865ce6d6c13ef076a22bd2aa4b85e884a85185
Author: Matthias Clasen <mclasen redhat com>
Date: Thu May 19 20:23:36 2011 -0400
Add a .pkla file for use during setup
data/20-gdm-initial-setup.pkla | 13 +++++++++++++
data/Makefile.am | 4 ++++
2 files changed, 17 insertions(+), 0 deletions(-)
---
diff --git a/data/20-gdm-initial-setup.pkla b/data/20-gdm-initial-setup.pkla
new file mode 100644
index 0000000..1098ddb
--- /dev/null
+++ b/data/20-gdm-initial-setup.pkla
@@ -0,0 +1,13 @@
+# Authorizations/policy for the wheel group.
+#
+# DO NOT EDIT THIS FILE, it will be overwritten on update.
+#
+# Allow the gdm-initial-setup user to do certain actions without being
+# interrupted by password dialogs
+#
+[Initial Setup Permissions]
+Identity=unix-user:gdm-initial-setup
+Action=org.freedesktop.accounts.*;org.gnome.settingsdaemon.datetimemechanism.*;org.freedesktop.udisks.filesystem-mount-system-internal;org.freedesktop.RealtimeKit1.*
+ResultAny=auth_admin
+ResultInactive=auth_admin
+ResultActive=yes
diff --git a/data/Makefile.am b/data/Makefile.am
index 1410c87..24a2756 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -97,11 +97,15 @@ gdm-smartcard: gdm-smartcard.pam
pamdir = $(PAM_PREFIX)/pam.d
pam_DATA = gdm-fingerprint gdm-smartcard
+policydir = $(datadir)/gdm
+policy_DATA = 20-gdm-initial-setup.pkla
+
EXTRA_DIST = \
$(schemas_in_files) \
$(schemas_DATA) \
$(dbusconf_in_files) \
$(localealias_DATA) \
+ $(policy_DATA) \
gdm.schemas.in.in \
gdm.conf-custom.in \
Xsession.in \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]