The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > Linux
.
google unix.com



Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Motd DragonLenage UNIX for Dummies Questions & Answers 4 02-20-2005 06:36 AM
/etc/motd run_time_error UNIX for Dummies Questions & Answers 7 01-06-2005 07:59 PM
replacing old motd with new motd antalexi Shell Programming and Scripting 2 11-30-2004 12:42 PM
MOTD File? Rex00me UNIX for Advanced & Expert Users 14 02-15-2002 01:40 PM
Editing motd killerserv Security 3 01-09-2002 05:48 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 01-18-2007
BOFH BOFH is offline Forum Advisor  
Registered User
  
 

Join Date: Feb 2005
Location: Broomfield, CO
Posts: 406
Motd

In which login startup script is the motd displayed?

Red Hat 4AS

As I understand it, upon login (bash) it hits

/etc/profile
~/.bash_profile
~/.bash_login
~/.profile

I went through the scripts and the associated scripts (/etc/profile.d/*.sh) but don't see where it's being displayed from.

I also checked /etc/ssh/sshd_config and PrintMotd is yes.

The problem is logging in as a user displays the motd correctly however logging in as root does not. Logging in as root to a different server (similar setup) does show root the motd.

And I know about not logging in a root. I haven't done it and wouldn't have known about the problem had it not been brought up by auditors. Since it's a customer server, we're not allowed to "fix" it.

Thanks.

Carl
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:08 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0