How to setup system Login banner and Login message
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
/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..
/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".
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
Rep:
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.
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!
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).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.