where is the login file at

I know that you can use the .profile file to setup general user enviroments  like login scripts and stuff.  I want to change the main login screen - what i mean is when i telnet into my site - i want to put something up before they log - in.  Also, if i want to post a comment for all to see when loging in - where would i have to put that so that i don't have to edit the .bash_profile file for each user.

I'm running Red Hat 5.2

thanks
tommyt
LVL 1
ttrogdenAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

guiyuCommented:
The files to change would be:

/etc/motd           for messages every user see AFTER login
/etc/issue           for info. user see at the login prompt
0
ttrogdenAuthor Commented:
I changed the /etc/issue and can't see any of the changes - do i have to do something to make it show up ??
0
guiyuCommented:
For remote login users to see the login message, add a file

/etc/issue.net

Did motd worked for you?
0
poggaCommented:
What you're looking for is stored in /etc/issue.net
This is the file which gets printed on the login screen above the login prompt.
Then if the login is successfully, /etc/motd gets printed while the system is setting up the user environment.
Then anything in the .profile is dealt with.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.