OEL/RHEL/CentOS 8 disable Activate the web console message

When login in to OEL 8 using SSH, we get a message asking to enable web console.


Activate the web console with: systemctl enable --now cockpit.socket

Last login: Mon Apr  5 12:20:44 2021 from 10.1.11.10


To disable this message, delete the file


rm -f /etc/motd.d/cockpit
This is actually a symlink to file /run/cockpit/motd






If you like please follow and comment