LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-18-2004, 09:42 AM   #1
jdaniel
Member
 
Registered: Jul 2003
Posts: 51

Rep: Reputation: 15
Unhappy why does /etc/motd print twice at login SuSE9.0 ??


Hi,

When my users login to my machine, etc/motd is printed twice.

For example:

/etc> ssh myuser@machine
Last login: Mon Oct 18 10:48:04 2004 from machine.abc.gov
************************************************************************
NOTICE TO USERS
blah blah ....
************************************************************************

Directory: /home/myuser
************************************************************************
NOTICE TO USERS

blah blah ....
************************************************************************

Directory: /home/myuser
Mon Oct 18 10:48:25 EDT 2004
machine /home/myuser>


Where the "**** NOTICE TO USERS" asci block is the contents of /etc/motd.

I wish this would only print once. Where should I look to troubleshoot this problem?

Thanks much as always.
jdaniel
 
Old 10-18-2004, 10:44 AM   #2
jdaniel
Member
 
Registered: Jul 2003
Posts: 51

Original Poster
Rep: Reputation: 15
BTW: This only happens when a user logs in remotedly. When a user logs into the console, /etc/motd only prints once.

Thanks.
 
Old 10-18-2004, 07:57 PM   #3
jdaniel
Member
 
Registered: Jul 2003
Posts: 51

Original Poster
Rep: Reputation: 15
Wow, this one actually stumped the forum?
 
Old 10-18-2004, 08:21 PM   #4
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Per the LQ Rules, please do not bump your own thread until at least 24 hours have elapsed without a reply. Because the LQ membership is global, people in other time zones may not have seen this post yet, and thus it may take some time before a response is received.

http://www.linuxquestions.org/rules.php
 
Old 10-26-2004, 01:34 PM   #5
jdaniel
Member
 
Registered: Jul 2003
Posts: 51

Original Poster
Rep: Reputation: 15
So does anyone other than the multinational timezone Forum Nazi have any advice concerning this issue? Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
suse9.2 login failure aryden.bk Linux - General 2 03-07-2005 12:52 AM
show motd on login pirozzi Debian 11 12-15-2004 10:40 AM
urgent login help for suse9.1 irish rebel Linux - Distributions 3 06-22-2004 10:25 AM
Is there any MOTD software available besides /etc/motd? csif Linux - Software 1 04-24-2004 06:36 AM
Login Message following MOTD kipbenson4 Linux - Newbie 5 08-05-2003 09:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration