LinuxQuestions.org
Review your favorite Linux distribution.
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 01-11-2011, 12:06 PM   #1
kreed
LQ Newbie
 
Registered: Jan 2011
Posts: 7

Rep: Reputation: 0
System login banner


Hey I am running fedora 13 and I am having trouble changing the system banner.

I have looked into it and I was told to edit the /etc/issue file, however I did and it is not working.

Is there a step that I have left out?

Any help given is most appreciated

Thanks!
 
Old 01-11-2011, 01:12 PM   #2
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,820

Rep: Reputation: 229Reputation: 229Reputation: 229
How...

You need to describe exactly what you did and what then happened if you want a qualified answer. All the detail are important.

http://www.linuxquestions.org/linux/...Ask_a_Question
 
Old 01-11-2011, 02:14 PM   #3
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
heres mine:
Code:
[schneidz@hyper nfs-w]$ cat /etc/issue 
Fedora release 13 (Goddard)
Kernel \r on an \m (\l)
not sure what it should be ?
 
Old 01-11-2011, 11:14 PM   #4
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Blog Entries: 6

Rep: Reputation: 75
server1 # echo "test" > /etc/motd


and try make ssh connection to the server1 from other location
 
Old 01-12-2011, 11:01 AM   #5
kreed
LQ Newbie
 
Registered: Jan 2011
Posts: 7

Original Poster
Rep: Reputation: 0
So login message and the banner are seperate files?
I think I was just confused
/etc/issue is for login message not banner right?
 
Old 01-12-2011, 11:17 AM   #6
kreed
LQ Newbie
 
Registered: Jan 2011
Posts: 7

Original Poster
Rep: Reputation: 0
Where is the message and banner suppose to show up
because it does not show up during or at login
 
Old 01-12-2011, 11:49 AM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by kreed View Post
Where is the message and banner suppose to show up
because it does not show up during or at login
How are you logging in?? If you mean you're logging in at the console (X windows/Gnome/KDE/whatever), you won't get it. The login banner is displayed for network connections, like telnet. You may be able to configure your display manager (kdm/gdm) to display a message after login on the console, and you could also write a script to display a window with the banner after login, and have it run on login.

SSH uses a banner option in the /etc/ssh/sshd_config file, and you *CAN* have it use the /etc/issue file, or have a different one that's displayed for SSH, while the system one is displayed for telnet.

Update: Since I knew I did this before on the console, you can go into the GDM or KDM configuration tools, and set a "welcome" message (banner), to be displayed after GUI login. A bit dated, but still should give you an idea:
http://www.cyberciti.biz/tips/howto-...in-banner.html

In KDM, I *THINK* you can do it through the GUI as well.

Last edited by TB0ne; 01-12-2011 at 11:57 AM.
 
Old 01-17-2011, 01:33 PM   #8
kreed
LQ Newbie
 
Registered: Jan 2011
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks everyone for your help
I was just looking at wrong screen
Did not realize it displays only at text login :S
 
  


Reply



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
How to setup system Login banner and Login message 06-03-05 Linux - Newbie 13 07-24-2020 02:05 PM
SSH login banner/No root login jmoschetti45 Linux - Security 3 01-17-2010 04:51 PM
Login banner triley SUSE / openSUSE 1 06-21-2007 11:01 AM
warning banner on login triley Linux - General 1 12-20-2005 12:51 PM
login banner on RH 8 herrmag Linux - Newbie 1 02-14-2005 12:18 PM

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

All times are GMT -5. The time now is 01:25 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