Thursday, January 26, 2012

Getting Rid of Chooser in RHEL 6

Without the GDM configuration tool in RHEL 6, it takes a bit of command line to remove the user list.

# su -s /bin/sh gdm
sh-3.2$ gconftool-2 --direct \ 
--config-source=xml:readwrite:$HOME/.gconf -t bool \
-s  /apps/gdm/simple-greeter/disable_user_list true
Also, you can add a message
sh-3.2$ gconftool-2 --direct --config-source=xml:readwrite:$HOME/.gconf -t string \
-s /apps/gdm/simple-greeter/banner_message_text 'Your banner message'
sh-3.2$ gconftool-2 --direct --config-source=xml:readwrite:$HOME/.gconf -t bool \
-s /apps/gdm/simple-greeter/banner_message_enable true

No comments: