Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How do you set a login banner in RHEL 4.0?

Posted on 2006-10-25
3
Medium Priority
?
2,166 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 1000 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

Basic Security of Your VPC

So, you’ve got this shiny new VPC and a fancy new application configured on your EC2 servers ready to go. This application is only accessible from your computer, which is great for security, but you need your users to be able to access it! So, what’s the easiest way to do this?

Question has a verified solution.

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

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

722 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