[28237] in Source-Commits
cluster-login-config commit: Add dconf locks to disable user switching
daemon@ATHENA.MIT.EDU (Jonathan D Reed)
Tue Jun 10 13:30:46 2014
Date: Tue, 10 Jun 2014 13:30:38 -0400
From: Jonathan D Reed <jdreed@MIT.EDU>
Message-Id: <201406101730.s5AHUc1x025254@drugstore.mit.edu>
To: source-commits@MIT.EDU
https://github.com/mit-athena/cluster-login-config/commit/4ca10f2d3bebfa13a9ed35d38211eb2701cf8a63
commit 4ca10f2d3bebfa13a9ed35d38211eb2701cf8a63
Author: Jonathan Reed <jdreed@mit.edu>
Date: Thu Jun 5 17:19:48 2014 -0400
Add dconf locks to disable user switching
Add a "user" profile for dconf, and the "athena" db, which disables
the user switcher in the indicator-session menu
debian/00-athena | 2 ++
debian/00-athena-locks | 1 +
debian/debathena-cluster-login-config.install | 3 +++
debian/user | 2 ++
4 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/debian/00-athena b/debian/00-athena
new file mode 100644
index 0000000..cd9717f
--- /dev/null
+++ b/debian/00-athena
@@ -0,0 +1,2 @@
+[apps/indicator-session]
+user-show-menu=false
diff --git a/debian/00-athena-locks b/debian/00-athena-locks
new file mode 100644
index 0000000..0f57180
--- /dev/null
+++ b/debian/00-athena-locks
@@ -0,0 +1 @@
+/apps/indicator-session/user-show-menu
diff --git a/debian/debathena-cluster-login-config.install b/debian/debathena-cluster-login-config.install
index 12ce259..3591750 100644
--- a/debian/debathena-cluster-login-config.install
+++ b/debian/debathena-cluster-login-config.install
@@ -6,3 +6,6 @@ debian/disable-suspend.pkla etc/polkit-1/localauthority/30-site.d
debian/disable-hibernate.pkla etc/polkit-1/localauthority/30-site.d
debian/50_debathena-cluster etc/grub.d
debian/debathena-cluster-login-config-sudoers etc/sudoers.d
+debian/user etc/dconf/profile
+debian/00-athena etc/dconf/db/athena.d
+debian/00-athena-locks etc/dconf/db/athena.d/locks
diff --git a/debian/user b/debian/user
new file mode 100644
index 0000000..ffb94ac
--- /dev/null
+++ b/debian/user
@@ -0,0 +1,2 @@
+user-db:user
+system-db:athena