[gdm/wip/initial-setup] Install a .pkla file for use during setup



commit db245d65fd5cc0d3690d58b2e50c31e9964dfde3
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu May 19 20:23:36 2011 -0400

    Install 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 5450725..23c0566 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -81,11 +81,15 @@ localealias_DATA = locale.alias
 sessiondir = $(datadir)/gnome-session/sessions
 dist_session_DATA = gdm-greeter.session gdm-setup.session
 
+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]