I submitted a request to the GDM documentation folks.  Thanks for the
pointer.

Rephrasing my question: Let's say I have 50 machine in my cluster, with
hostnames "linux01" "linux02" ... "linux50"

In previous versions of SL (SL5 and 6 at least), I could modify the login
banner to be "%n.university.edu" and then each of the machines would
display the appropriate login machine name, "linux01.university.edu" on the
linux01 machine (for example).

I assume that the %n referred to a shell variable, hostname, but I've never
checked.  That feature seems to be missing in RHEL7

Nathan

On Sat, Aug 29, 2015 at 6:23 PM, greg boyd <[email protected]> wrote:

> sorry. i guess that solution was covered in the document you referenced.
> (thanks by the way - i had to figure this crap out myself.) maybe i
> misunderstood your question...
>
>
> On Sat, Aug 29, 2015 at 4:16 PM, greg boyd <[email protected]> wrote:
>
>> You need to set a couple of values using dconf. You can find out the keys
>> to set using:
>> gsettings list-schemas | grep login
>> This shows org.gnome.login-screen
>>
>> then list the keys using
>> gsettings list-keys org.gnome.login-screen
>>
>> you will find two keys: banner-message-text
>> and banner-message-enable
>>
>> Setting these keys in a file named like 01-login-screen in a directory
>> under /etc/dconf/db
>> (im not sure if its gdm.d or local.d), in a file like this:
>> [org/gnome/login-screen]
>> banner-message-enable=true
>> banner-message-text=whatever
>>
>> should do it. I'm not sure if you need (or can) quote whatever, and I'm
>> not sure which directory it must go in (we disable the login list in a file
>> like this and I just put it in both places - I guess I had trouble with one
>> of them and duplicated it)
>>
>> good luck!
>>
>>
>> On Fri, Aug 28, 2015 at 11:51 AM, Jim Campbell <[email protected]>
>> wrote:
>>
>>> At the bottom of each page in the GNOME docs, there's a short blurb that
>>> says, "Got a comment? Spotted an error? Found the instructions unclear?
>>> Send feedback about this page." Sending feedback sends a message to a
>>> mailing list that is monitored by the docs team.
>>>
>>> I think that the person who monitors that mailing list most regularly is
>>> also the person who works on the sysadmin guide, so submitting your
>>> feedback there would be as good as a bug report.  You can also file a bug
>>> report, too.
>>>
>>> That link is present on all GNOME help docs on the web, by the way.
>>>
>>> I think that SL7 is using GNOME 3.8 right now, so this is the page that
>>> you'd want to check out:
>>>
>>> https://help.gnome.org/admin/system-admin-guide/3.8/login-banner.html.en
>>>
>>> Jim
>>>
>>>
>>> On Fri, Aug 28, 2015, at 01:29 PM, Pat Riehecky wrote:
>>>
>>> Typically I find the upstream Gnome3 guide a bit more complete:
>>> https://help.gnome.org/admin/system-admin-guide/stable/index.html.en
>>>
>>> I do not see a suitable setting there either.....
>>>
>>> Pat
>>>
>>> On 08/28/2015 01:23 PM, Nathan Moore wrote:
>>>
>>> In older versions of SL one could include the machine name in the login
>>> banner.  Somethings like "%n.university.edu" in the login banner config
>>> screen would produce "physics1.university.edu" at the login screen.
>>>
>>> In the present RHEL7 documentation (link below) I don't see this option
>>> in the dconf docs.  Is there an easy way to include machine name in the gdm
>>> login screen?
>>>
>>> reference,
>>> <https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Desktop_Migration_and_Administration_Guide/customizing-login-screen.html>
>>> https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Desktop_Migration_and_Administration_Guide/customizing-login-screen.html
>>>
>>> --
>>> - - - - - - -   - - - - - - -   - - - - - - -
>>> Nathan Moore
>>> Mississippi River and 44th Parallel
>>> - - - - - - -   - - - - - - -   - - - - - - -
>>>
>>>
>>>
>>>
>>> --
>>> Pat Riehecky
>>> Scientific Linux developer
>>>
>>> Fermi National Accelerator Laboratorywww.fnal.gov www.scientificlinux.org
>>>
>>>
>>>
>>
>>
>>
>> --
>> -- greg
>> [email protected]
>> Instructor, Computer Science
>> http://fog.ccsf.edu/~gboyd
>>
>>
>
>
> --
> -- greg
> [email protected]
> Instructor, Computer Science
> http://fog.ccsf.edu/~gboyd
>
>


-- 
- - - - - - -   - - - - - - -   - - - - - - -
Nathan Moore
Mississippi River and 44th Parallel
- - - - - - -   - - - - - - -   - - - - - - -

Reply via email to