LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-06-2005, 06:57 AM   #1
06-03-05
LQ Newbie
 
Registered: Mar 2005
Posts: 8

Rep: Reputation: 0
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?
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 03-06-2005, 08:50 AM   #2
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
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.
 
Old 03-06-2005, 09:38 AM   #3
kiku
LQ Newbie
 
Registered: Mar 2005
Posts: 4

Rep: Reputation: 0
i hope this may help http://art.gnome.org/faq.php
 
Old 03-06-2005, 09:46 AM   #4
06-03-05
LQ Newbie
 
Registered: Mar 2005
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks for all the help;

The answer is

edit the "/etc/issue" and "/etc/motd" files
 
Old 12-18-2006, 10:40 AM   #5
doncrawley
LQ Newbie
 
Registered: Sep 2003
Location: Seattle, Washington
Distribution: Fedora, CentOS, Slackware, Ubuntu, Debian
Posts: 11

Rep: Reputation: 0
Graphical Login Banner

Use "gdmsetup" to create and/or modify a login banner in the GUI.
 
Old 01-25-2007, 05:38 AM   #6
rush2dan
LQ Newbie
 
Registered: Jan 2007
Posts: 1

Rep: Reputation: 0
Hi pals ,

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

Thanks
D@nny
 
Old 01-25-2007, 11:29 AM   #7
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
/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.
 
Old 01-25-2007, 01:15 PM   #8
doncrawley
LQ Newbie
 
Registered: Sep 2003
Location: Seattle, Washington
Distribution: Fedora, CentOS, Slackware, Ubuntu, Debian
Posts: 11

Rep: Reputation: 0
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".
 
Old 11-03-2011, 11:40 AM   #9
robbinstw
LQ Newbie
 
Registered: Apr 2010
Posts: 2

Rep: Reputation: 2
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.
 
Old 11-03-2011, 11:42 AM   #10
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
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.
 
Old 03-11-2015, 07:20 PM   #11
RojMaj
LQ Newbie
 
Registered: Mar 2015
Posts: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by frieza View Post
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!
 
4 members found this post helpful.
Old 08-26-2018, 12:00 PM   #12
LinuxJose
LQ Newbie
 
Registered: Aug 2018
Posts: 1

Rep: Reputation: Disabled
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).
 
Old 07-24-2020, 12:00 PM   #13
radiohm3
LQ Newbie
 
Registered: Jul 2020
Posts: 1

Rep: Reputation: Disabled
Found what I needed in the replies

I just wanted to say that even after 15 years I found this thread useful, haha
 
Old 07-24-2020, 02:05 PM   #14
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,805

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Enabling /etc/issue for SSH connections

Quote:
Originally Posted by doncrawley View Post
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.
 
  


Reply

Tags
banner, logon



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH Login Banner Display raiden4201 Linux - Newbie 11 12-08-2008 04:41 PM
Fedora 2 system banner/message Blackout_08 Fedora 6 03-06-2005 10:06 PM
login banner on RH 8 herrmag Linux - Newbie 1 02-14-2005 12:18 PM
banner message before telnet login digitalgravy Linux - Newbie 3 12-19-2003 02:31 PM
telnet - banner but no login? polo76 Linux - General 2 06-23-2003 09:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration