Solved

How do you set a login banner in RHEL 4.0?

Posted on 2006-10-25
3
2,162 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…

734 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