LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to setup system Login banner and Login message (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-setup-system-login-banner-and-login-message-298266/)

06-03-05 03-06-2005 06:57 AM

How to setup system Login banner and Login message
 
I am trying to setup my Fedora Core 2 Login banner and Login Message to something different. Where do I go or what do I need to do to achive this?

frieza 03-06-2005 08:50 AM

login banner? elaborate... the text based banner is in /etc/issue, as for the graphical login... there is a utility hiding somewhere that can do that.

kiku 03-06-2005 09:38 AM

i hope this may help http://art.gnome.org/faq.php

06-03-05 03-06-2005 09:46 AM

Thanks for all the help;

The answer is

edit the "/etc/issue" and "/etc/motd" files

doncrawley 12-18-2006 10:40 AM

Graphical Login Banner
 
Use "gdmsetup" to create and/or modify a login banner in the GUI.

rush2dan 01-25-2007 05:38 AM

Hi pals ,

For Fedora Core check out for /etc/issue and /etc/issue.net

Thanks
D@nny

farslayer 01-25-2007 11:29 AM

/etc/issue and /etc/motd as stated already, but heres a handy link that covers setting this up on a variety of operating systems from dos, win, OS X, Linux, etc..

http://www.ciac.org/ciac/bulletins/j-043.shtml

good link to have on hand.

doncrawley 01-25-2007 01:15 PM

Linux Logon Banner Options
 
/etc/issue.net, although helpful, is only useful for Telnet sessions. Given the security implications associated with Telnet, most people use SSH for remote connections. You can configure a banner that displays immediately after an SSH login by modifying sshd_config (on RH systems, it's at /etc/ssh/sshd_config). I have not been able to find a way to display a banner prior to login in an SSH session. You may also wish to configure a graphical logon banner for use with Gnome which can be done by running gdmsetup and making changes under the Standard or Graphical greeter tabs. If you're using KDE, you can either modify logon behavior with the graphical tool under Control Center >> System Administration >> Login Manager or by manually modifying the kdmrc text file. Use "find / -name kdmrc" to locate it on your system, but it's probably in a location similar to "/etc/kde/kdm".

robbinstw 11-03-2011 11:40 AM

also look at the file /etc/banner
 
The file /etc/banner will contain a login banner, as well.

You can edit it to zero length if it is causing problems for things like Oracle 10g RAC installation.

frieza 11-03-2011 11:42 AM

um.. this thread was 4 years old, i'm sure the OP has long since moved on, please check the post dates before replying to a thread, especially since the quick reply should have been disabled for a post this old,resurrecting threads this old is really bad form and is highly frowned upon unless there is a pressing need to do so which your reply doesn't qualify as such.

RojMaj 03-11-2015 07:20 PM

Quote:

Originally Posted by frieza (Post 4514997)
um.. this thread was 4 years old, i'm sure the OP has long since moved on, please check the post dates before replying to a thread, especially since the quick reply should have been disabled for a post this old,resurrecting threads this old is really bad form and is highly frowned upon unless there is a pressing need to do so which your reply doesn't qualify as such.

I don't understand why people get so upset about this. The purpose of the message board isn't only to solve the OPs personal problem. If someone has something to contribute that could be helpful to someone looking for this topic, it's worthwhile. If I ask a question, many people will jump on me suggesting that I search old posts to find my answer, yet you jump on someone else for contributing useful information to the relevant thread. I found this site through a google search, and it answered a question I had. robbinstw also gave me useful information, that I would not have know otherwise. I'm obviously new to linux and your post was the least helpful in the thread. Now the thread is 10 years old, and I'm sure everyone here has long since moved on, but if there are any other message board snobs around to get my message, maybe they will realize that us "newbies", which is the forum we're in, don't care how old the thread is, or whether the OP is an expert by now. Maybe 8 years on, he can come back and give me some tips!

LinuxJose 08-26-2018 12:00 PM

I agree with RojMaj
 
Far too often when requesting help in a Linux forum, rather than getting helpful advice you get attitude.
I admit some people live for Linux and others just use Linux, however the forum was designed to help people understand Linux.
This is where the gurus guide the newcomers, to make adopting Linux a positive experience.

If you want to expand your ego, then give a clear concise answer, and everyone will look to you as a true Guru.
Doing this will also separate you from the ones who can only state "RTFM", we already know that they want to be seen as a guru (and everyone also knows that they don't know Linux).

radiohm3 07-24-2020 12:00 PM

Found what I needed in the replies
 
I just wanted to say that even after 15 years I found this thread useful, haha

rnturn 07-24-2020 02:05 PM

Enabling /etc/issue for SSH connections
 
Quote:

Originally Posted by doncrawley (Post 2602271)
I have not been able to find a way to display a banner prior to login in an SSH session.

Edit /etc/sshd_config and add the line:
Code:

Banner /etc/issue
(There's likely a "Banner none" line in that file, possibly commented out.)
Then, send a HUP signal to the sshd daemon.

Yeah it's an old thread (I sometimes miss the dates of the OPs) but I didn't see where anyone addressed this.


All times are GMT -5. The time now is 07:37 PM.