


Red Hat Enterprise Linux release 8をインストールするとcockpit,insights-client関連のメッセージが表示されるようになります。
起動時にコンソール ディスプレイに
Activate the web console with: systemctl enable –now cockpit.socket
ユーザがログインすると
Activate the web console with: systemctl enable –now cockpit.socket
Register this system with Red Hat Insights: insights-client –register
Create an account or view all your systems at https://red.ht/insights-dashboard
cockpitもinsights-clientも利用予定が無いので非表示にしました。
参考
「/etc/issue」ファイルと「/etc/motd」ファイル
https://linuc.org/study/knowledge/513/
「/etc/issue」ファイルはログイン前、「/etc/motd」ファイルはログイン後のメッセージを記述するファイル。しっかり覚えておきましょう。
それでは確認してみます。
1 2 3 4 5 |
[root@RHEL8 ~]# ls -l /etc/issue.d/ lrwxrwxrwx. 1 root root 17 3月 12 2021 cockpit.issue -> /run/cockpit/motd [root@RHEL8 ~]# cat /etc/issue.d/cockpit.issue Activate the web console with: systemctl enable --now cockpit.socket |
/etc/issue.d/cockpit.issueがありました。これが起動直後にコンソールに表示するメッセージです。
何かあればシンボリックリンクを作成すればいいので、削除してしまいます。
1 2 3 4 5 |
[root@RHE8 ~]# rm /etc/issue.d/cockpit.issue rm: remove symbolic link '/etc/issue.d/cockpit.issue'? y [root@RHEL8 ~]# ls -l /etc/issue.d/ total 0 |
次にユーザログイン後に表示されるメッセージです。
1 2 3 4 5 6 7 8 9 10 |
[root@RHEL8 ~]# ls -l /etc/motd.d/ lrwxrwxrwx. 1 root root 17 3月 12 2021 cockpit -> /run/cockpit/motd lrwxrwxrwx. 1 root root 41 2月 11 21:00 insights-client -> /etc/insights-client/insights-client.motd [root@RHEL8 ~]# cat /etc/motd.d/cockpit Activate the web console with: systemctl enable --now cockpit.socket [root@RHEL8 ~]# cat /etc/motd.d/insights-client Register this system with Red Hat Insights: insights-client --register Create an account or view all your systems at https://red.ht/insights-dashboard |
こちらも同様に削除しました。