LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   System login banner (https://www.linuxquestions.org/questions/linux-newbie-8/system-login-banner-855638/)

kreed 01-11-2011 12:06 PM

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!

thorkelljarl 01-11-2011 01:12 PM

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

schneidz 01-11-2011 02:14 PM

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 ?

routers 01-11-2011 11:14 PM

server1 # echo "test" > /etc/motd


and try make ssh connection to the server1 from other location

kreed 01-12-2011 11:01 AM

So login message and the banner are seperate files?
I think I was just confused
/etc/issue is for login message not banner right?

kreed 01-12-2011 11:17 AM

Where is the message and banner suppose to show up
because it does not show up during or at login

TB0ne 01-12-2011 11:49 AM

Quote:

Originally Posted by kreed (Post 4221841)
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.

kreed 01-17-2011 01:33 PM

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


All times are GMT -5. The time now is 07:22 AM.