PDA

View Full Version : [ubuntu] seeing appended motd



mozie
February 16th, 2011, 05:07 PM
Hello
I am using Ubuntu 9.4

when I ssh into the server i see two seperate instances of the motd one on top of the other.

Background:
I am a beginner...so I have been getting aquainted with Ubuntu. There was an original motd on the server that displayed to a group, but I have no idea what I did to remove it.

When logged in as root I do not see a motd.tail file in the /etc dir just a motd file and that is empty. I looked in var/run/motd and saw a message that appears when I ssh into my home directtory, so I edited that file adding a motd there, saved and quit.

Then I ssh'd back into the server and now I see two motd. I went back to the file var/run/motd and see no text there. I am not certain why.

I have looked at many posts before creating this. I hope someone can direct me on how to fix this.

Many thanks
M