Solaris のシステム管理

例 - 本日のメッセージを設定する

デフォルトの本日のメッセージは、Solaris ソフトウェアのインストール時に提供されます。メッセージの内容は次のような SunOS バージョン情報です。

$ cat /etc/motd
Sun Microsystems Inc   SunOS 5.6    Generic     August 1997

次に編集後の /etc/motd ファイルの例を示します。このファイルは、ログインする各ユーザーに対してシステムの利用度に関する情報を提供します。

$ cat /etc/motdThe system will be down from 7:00 a.m to 2:00 p.m.on
Saturday, August 5, for upgrades and maintenance.
Do not try to access the system during those hours.
Thank you...