The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Motd BOFH Linux 5 01-19-2007 09:17 AM
Motd DragonLenage UNIX for Dummies Questions & Answers 4 02-20-2005 06:36 AM
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

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-06-2005
run_time_error run_time_error is offline
Registered User
  
 

Join Date: Dec 2004
Posts: 40
/etc/motd

Hi

I do get the message of the day upon logging in to my machine(Solaris 9). I do NOT have a .hushlogin file in my home directory.

Any ideas
:-)
  #2 (permalink)  
Old 01-06-2005
run_time_error run_time_error is offline
Registered User
  
 

Join Date: Dec 2004
Posts: 40
Sorry, that should be:
I do NOT get the message of the day , instead of I do get the message of the day.
  #3 (permalink)  
Old 01-06-2005
run_time_error run_time_error is offline
Registered User
  
 

Join Date: Dec 2004
Posts: 40
Sorry again for bothering.
I seem to have found out the solution:
I do not have an /etc/issue file but that leads to another
question? Is'nt /etc/motd enough to display the message of the day?

Regards
;_0
  #4 (permalink)  
Old 01-06-2005
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
/etc/issue is printed before the login prompt. /etc/motd is printed after you login. How motd is printed depends on your shell. And it is only printed for true logins. Try "telnet localhost" and then login. Now do you see the motd? If not, what shell are you using?
  #5 (permalink)  
Old 01-06-2005
run_time_error run_time_error is offline
Registered User
  
 

Join Date: Dec 2004
Posts: 40
I get the motd when I telnet into the box.
However, when I ssh into the box I do not get it.
Ultimately I would be closing the telnet service and
would connect only through ssh. btw. I am using bash
and it does not have anything suspicious.
I also get the contents of the /etc/issue and NOT the
ones of /etc/motd.
  #6 (permalink)  
Old 01-06-2005
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
Then you need to configure your sshd to print motd if you want. Look at the docs for your sshd. There should be an option.
  #7 (permalink)  
Old 01-06-2005
run_time_error run_time_error is offline
Registered User
  
 

Join Date: Dec 2004
Posts: 40
I have tried this on a new solaris box, one without ssh.
However, I still have no luck on this one either.
Only the contents of /etc/issue get displayed but not
/etc/motd. Do I need to start some kind of service of
some sort(just a guess)?
Closed Thread

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:23 PM.


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