Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Related to this question, how do I go about implementing said warning banner on a gnome based Fedora 11 or Fedora 12 installation? I only care about the graphical login. I used the NSA guide to implement the banner in Fedora 10 and it worked just fine, but it appears that the gdm login screen is using a different format. I need to do add this to remain compliant with company IT policy.

share|improve this question
    
The NSA guide link is currently broken. For posterity, it may be useful to summarize its erstwhile contents here. –  jw013 May 11 '12 at 13:52
    
The link works again, but it now points to the list of security guides, not just the linux one directly. –  Jay R. Aug 13 '12 at 13:57

2 Answers 2

up vote 2 down vote accepted

Fedora 11 and after:

  1. Install gconf-editor
  2. Edit /apps/gdm/simple-greeter.
  3. Change banner_message_enable to true and mark as default (it will ask you to be root to confirm the change).
  4. Change banner_message_text to the content of the warning banner and mark as default (again, asking to be root).

Now, if you log out, you'll see the warning banner message just below the computer name in the login dialog. It will be center justified, but this can be changed. The dialog appears to resize for the text, so you can use more than one line of text as the message.

To change the justification of the text, you need to edit /usr/share/gdm/gdm-greeter-login-window.glade. Look for the text box id'ed "auth-banner-label". The justify tag is fairly obvious, just use the rest of the xml as a guide to see what to change.

Before Fedora 11:

This works for Fedora 10 and RedHat EL5. It doesn't work for Fedora 11 or Fedora 12 though.

  1. Look in /usr/share/gdm/themes/a-theme-name/a-theme-name.xml and edit that file with a text editor.
  2. After the first two pixmap entries add the following to the file:
<item type="rect">
  <pos anchor="n" x="50%" y="10" width="box" height="box" />
  <box>
    <item type="label">
      <normal font="Sans 14" color="#ffffff"/>
      <text>
INSERT BANNER TEXT HERE
      </text>
    </item>
  </box>
</item>

Obviously replace "INSERTBANNER TEXT HERE" with your banner and a-theme-name is the name of the theme that is being used by GDM.

share|improve this answer

You'll need to place the message in GDM's config file.

There are some instructions for different OSs here.

share|improve this answer
    
There are no specific instructions for Fedora 11 there. They will work for Fedora 10 and older when you want to change the greeter message. A proper banner will likely not fit in that space though. –  Jay R. Oct 29 '09 at 16:48

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.