Comment 8 for bug 1097053

Revision history for this message
George Bobeck (george-bobeck) wrote :

The login banner can just be a simple text box without a button to click to acknowledge. Generally, if the user reads the banner and logs onto the box that means they agree to the terms presented in the logon banner.

The login banner must be displayed at the login screen for every login. Think of this as the graphical version of placing a login banner in /etc/update-motd.d to be displayed when someone uses SSH to access the box.

If it helps any, you can see how this was implemented in GDM in 10.04 (the commands do not work in the version of GDM used in 12.04) by running the following commands below. This is what I ran to set up the machine from which I took the screenshots previously attached.

# Disable user list
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type boolean --set /apps/gdm/simple-greeter/disable_user_list True

# Set login banner text
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string --set /apps/gdm/simple-greeter/banner_message_text_nochooser"This Information Resource is the property of <COMPANY>. The most current terms of use for this Information Resource can be found at <CORPORATE WEBSITE>. It is your responsibility to read, understand, and comply with <COMPANY> terms of use at all times. Unauthorized access is prohibited."

# Enable login banner
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type boolean --set /apps/gdm/simple-greeter/banner_message_enable true