How to remove the activate web console message on CentOS

Published April 29, 2020

When you login from the command line or when you SSH into CentOS, you may see a message telling you to activate the web console. You can stop the message of "Activate the web console with: systemctl enable --now cockpit.socket" from displaying by running the command below.

rm -f /etc/issue.d/cockpit.issue /etc/motd.d/cockpit