ubuntu ログイン時のメッセージが変、だった。
これは、以前からあったことだが、自鯖機(Ubuntu 10.04.02)にssh使ってログインした時に表示されるwelcomeメッセージ的なモノが表示されるのだが、それがちょっと変。 という事を認識した。
こんな感じで表示される。
同じような内容が2回、表示されている。
今まで何げにログインしていて、これらのメッセージはスルーしていたが、先日「これっておかしんじゃ」と思った。
で、「ubuntu ログイン時のメッセージ」検索してみた。
これで、いろいろみたところ「/etc/motd」が関連しているらしいことが分かった。
更に「ubuntu ログイン時のメッセージ motd」検索。
ずばりがあった。
プログラミングメモ|二重に表示されるウェルカムメッセージ
なんでも、/etc/motd.tail という使われなくなったファイルが残っていたのが問題だった、らしい。
で、ブログに載っているように
と当該ファイルをリネームして、無事フィックス。
ログインメッセージは普通になった。
見てないとは思うが「情報、どうもありがとうございました。」 m(_ _)m
◆参照サイト:プログラミングメモ|二重に表示されるウェルカムメッセージ
Linux earth 2.6.32-31-server #61-Ubuntu SMP Fri Apr 8 19:44:42 UTC 2011 x86_64 GNU/Linux
Ubuntu 10.04.2 LTS
Welcome to the Ubuntu Server!
* Documentation: http://www.ubuntu.com/server/doc
System information as of Fri May 13 10:18:55 JST 2011
System load: 0.03 Processes: 111
Usage of /home: 21.2% of 114.62GB Users logged in: 0
Memory usage: 39% IP address for eth0: xxx.xxx.xxx.11
Swap usage: 0%
=> There is 1 zombie process.
Graph this data and manage this system at https://landscape.canonical.com/
No mail.
Last login: Fri May 13 10:15:57 2011 from xxx.xxx.xxx.20
Ubuntu 10.04.2 LTS
Welcome to the Ubuntu Server!
* Documentation: http://www.ubuntu.com/server/doc
System information as of Mon Apr 18 22:07:23 JST 2011
System load: 0.0 Processes: 107
Usage of /home: 21.1% of 114.62GB Users logged in: 0
Memory usage: 55% IP address for eth0: xxx.xxx.xxx.11
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 the Ubuntu Server!
* Documentation: http://www.ubuntu.com/server/doc
System information as of Fri May 13 10:18:55 JST 2011
System load: 0.03 Processes: 111
Usage of /home: 21.2% of 114.62GB Users logged in: 0
Memory usage: 39% IP address for eth0: xxx.xxx.xxx.11
Swap usage: 0%
=> There is 1 zombie process.
Graph this data and manage this system at https://landscape.canonical.com/
No mail.
Last login: Fri May 13 10:15:57 2011 from xxx.xxx.xxx.20
Ubuntu 10.04.2 LTS
Welcome to the Ubuntu Server!
* Documentation: http://www.ubuntu.com/server/doc
System information as of Mon Apr 18 22:07:23 JST 2011
System load: 0.0 Processes: 107
Usage of /home: 21.1% of 114.62GB Users logged in: 0
Memory usage: 55% IP address for eth0: xxx.xxx.xxx.11
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.
同じような内容が2回、表示されている。
今まで何げにログインしていて、これらのメッセージはスルーしていたが、先日「これっておかしんじゃ」と思った。
で、「ubuntu ログイン時のメッセージ」検索してみた。
これで、いろいろみたところ「/etc/motd」が関連しているらしいことが分かった。
更に「ubuntu ログイン時のメッセージ motd」検索。
ずばりがあった。
プログラミングメモ|二重に表示されるウェルカムメッセージ
なんでも、/etc/motd.tail という使われなくなったファイルが残っていたのが問題だった、らしい。
で、ブログに載っているように
$ sudo mv /etc/motd.tail /etc/motd.tail.old
と当該ファイルをリネームして、無事フィックス。
ログインメッセージは普通になった。
Linux earth 2.6.32-31-server #61-Ubuntu SMP Fri Apr 8 19:44:42 UTC 2011 x86_64 GNU/Linux
Ubuntu 10.04.2 LTS
Welcome to the Ubuntu Server!
* Documentation: http://www.ubuntu.com/server/doc
System information as of Fri May 13 10:18:55 JST 2011
System load: 0.03 Processes: 111
Usage of /home: 21.2% of 114.62GB Users logged in: 0
Memory usage: 39% IP address for eth0: xxx.xxx.xxx.11
Swap usage: 0%
=> There is 1 zombie process.
Graph this data and manage this system at https://landscape.canonical.com/
No mail.
Last login: Fri May 13 10:15:57 2011 from xxx.xxx.xxx.20
Ubuntu 10.04.2 LTS
Welcome to the Ubuntu Server!
* Documentation: http://www.ubuntu.com/server/doc
System information as of Fri May 13 10:18:55 JST 2011
System load: 0.03 Processes: 111
Usage of /home: 21.2% of 114.62GB Users logged in: 0
Memory usage: 39% IP address for eth0: xxx.xxx.xxx.11
Swap usage: 0%
=> There is 1 zombie process.
Graph this data and manage this system at https://landscape.canonical.com/
No mail.
Last login: Fri May 13 10:15:57 2011 from xxx.xxx.xxx.20
見てないとは思うが「情報、どうもありがとうございました。」 m(_ _)m
◆参照サイト:プログラミングメモ|二重に表示されるウェルカムメッセージ
COMMENTS
※本記事に関係ないと判断した COMMENTS はお断りしております。