
Ubuntu日本語フォーラム

ログインしていません。
Ubuntu Server Edition 10.04を利用して、自宅内だけからアクセスできるサーバを運用しています。先月あたりから、SSHログイン時にメッセージがダブって表示されるようになりました。些細なことで恐縮なのですが、これを直す方法をご存知の方、いらっしゃいませんでしょうか?
$ ssh hogehoge; Linux server 2.6.32-32-generic-pae #62-Ubuntu SMP Wed Apr 20 22:10:33 UTC 2011 i686 GNU/Linux Ubuntu 10.04.2 LTS Welcome to Ubuntu! * Documentation: https://help.ubuntu.com/ System information as of Sun Jun 5 21:01:17 JST 2011 System load: 0.0 Processes: 98 Usage of /home: 70.3% of 22.63GB Users logged in: 0 Memory usage: 46% IP address for eth0: 192.168.1.200 Swap usage: 0% Graph this data and manage this system at https://landscape.canonical.com/ 0 packages can be updated. 0 updates are security updates. <ここからダブり> Ubuntu 10.04.2 LTS Welcome to Ubuntu! * Documentation: https://help.ubuntu.com/ System information as of Thu Apr 21 14:32:53 JST 2011 System load: 0.0 Processes: 93 Usage of /home: 76.6% of 22.63GB Users logged in: 0 Memory usage: 42% IP address for eth0: 192.168.1.200 Swap usage: 0% Graph this data and manage this system at https://landscape.canonical.com/ 22 packages can be updated. 10 updates are security updates. <ここまでダブり> You have new mail. Last login: Thu Jun 2 13:49:44 2011 from fugafuga
オフライン
こんにちわー
update-motd パッケージアップデート後の motd は
/etc/motd -> /var/run/motd(update-motd で自動生成)と
/etc/motd.tail(上記生成時に追加したいメッセージ)
になっています
おそらく /etc/motd.tail にアップデート前の従来メッセージがそのまま残っていますので
必要なければ削除または空にしてください
では~~
オフライン
favicon.icoさま
アドバイス通りに/etc/motd.tailに記述された文言をすべて削除して再ログインしたところ、ダブりが解消しました。
折を見てファイルも削除したいと思います。
どうもありがとうございました。
オフライン