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.
/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: 2,612
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.