Solved

How do you set a login banner in RHEL 4.0?

Posted on 2006-10-25
3
2,151 Views
Last Modified: 2013-12-16
How do you set a login banner in Linux RHEL 4.0?  

I know that you are supposed to edit the motd file in /etc.  I also know that the etc/issue file needs to be modified somehow.  Further, a chmod and chown need to be done in usr/share/gdm/themes/RHEL.

I just don't know the details of how to get it all set up correctly.

Does anyone know the full and correct procedure so that login/warning banner will display itself whenever anyone logs into a Linux RHEL 4 Server or Workstation?

Thanks.
0
Comment
Question by:L3MS
3 Comments
 
LVL 30

Accepted Solution

by:
Kerem ERSOY earned 250 total points
ID: 17807808
Hi,

Let's discuss it in-a-nutshell:
- contents of the /etc/motd is displayed during an interactive sessin after a succesful logon occured. This is true for both telnet and ssh. To edit the contents of the file simply type somehing in it and be sure that end the file with an <enter> otherwise you wont see the last line.
- Contents of the issue file is displayed *before* login on console so any disclaimer about login etc. must go in this file. The contents is displayed before the login: prompt.  There's a counterpart of the issue, namely issue.net. the contents of the issue.net is displayed during telnet sessions.

So to display a banner wheneversomeone logs in you need to customize issue (for console) and issue.net (for telnet and ssh logins)


0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this tutorial I will explain how to make squid prevent malwares in five easy steps: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-…
Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

948 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now