[CentOS] Disabling user switching in CentOS 6

Mon Jul 8 21:57:31 UTC 2013
James Pearson <james-p at moving-picture.com>

michael.vanhorn at wright.edu:
> Installing CentOS 6 on a lab full of workstations, and I want to disable
> fast user switching. With CentOS 5, I simply made sure that the
> "user_switch_enabled" entry in
> /etc/gconf/schemas/gnome-screensaver.schemas was set to false. However,
> that doesn't work with CentOS 6.
>
> I've found various proposed solutions to this issue, such as
> 
> gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
> --type bool --set "/apps/gnome-screensaver/user_switch_enabled" "false"
> gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
> --type bool --set "/desktop/gnome/lockdown/disable_user_switching" "true"
> 
> neither of which work, either. Does anyone know the proper way to disable
> user switching with CentOS 6?

There is an open Bugzilla case about this: <https://bugzilla.redhat.com/show_bug.cgi?id=744281> - which doesn't seem to be going anywhere ...

We've applied the patch available from <https://bugzilla.gnome.org/show_bug.cgi?id=598255> to the gnome-session SRPM - which works for us (with the above gconf settings)

James Pearson